title: Global media control in c#
body: <p>I want to control Windows media globally. All I need are the basics. Pause/Play, next, previous, Volume up and down. Similar to what the media keys (VK_MEDIA_PLAY_PAUSE, etc.) do. Simulating the keys with <code>SendKeys.Send</code> or <code>SendKeys.SendWait()</code> does not work, since these functions only take strings and the media keys are not recognized. </p>
  
  <p>Existing classes for windows media like the MediaPlayer class (<a href="https://msdn.microsoft.com/library/system.windows.media.mediaplayer(v=vs.110).aspx" rel="nofollow noreferrer">https://msdn.microsoft.com/library/system.windows.media.mediaplayer(v=vs.110).aspx</a>) seem to be designed for building new media players, rather than controlling existing ones. </p>