title: How do I tell if the master volume is muted?
body: <p>I am using the following to mute/unmute the master audio on my computer.  Now, I am looking for a way to determine the mute state.  Is there a just as easy way to do this in C#?</p>
  
  <pre><code>    private const int APPCOMMAND_VOLUME_MUTE = 0x80000;
      private const int WM_APPCOMMAND = 0x319;
      [DllImport("user32.dll")]
      public static extern IntPtr SendMessageW(IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam);
  </code></pre>