title: crash with CoreAudioDevice
body: <p>Hello I have an WPF application in C# which shall overwrite the systems settings of the speaker volume. for this I use:</p>
  
  <pre><code>public void SetAudioVolume(int nVol)
  {
         CoreAudioDevice defaultPlaybackDevice = new CoreAudioController().DefaultPlaybackDevice;            
          defaultPlaybackDevice.Volume = nVol;
  }
  </code></pre>
  
  <p>With Windows 10 it works fine but when I run the program at windows 7 my application crashes. It seems this methode isn't working at Win7. Is there any other way to set the system speaker and microphone settings to maximum in my application?</p>
  
  <p>Edited:</p>
  
  <p>For some unknown reason I don't get a log entry even though the exception is catched. But when I look at the minidmp I see this:</p>
  
  <blockquote>
    <p>System.IO.FileNotFoundException: "Could not load file or assembly
    'AudioSwitcher.AudioApi.CoreAudio, Version=3.0.0.209, Culture=neutral,
    PublicKeyToken=fda5729e2db3a64f' or one of its</p>
  </blockquote>
  
  <p>Does anybody know what I have to install so that it is working at Win7 too?</p>