soundplayer c# take uri code example
Example: soundplayer c# take uri
SoundPlayer foo = new SoundPlayer(@"pack://application:,,,/SoundExample;component/Sounds/MySound.wav");
foo.Play();
SoundPlayer foo = new SoundPlayer(@"pack://application:,,,/SoundExample;component/Sounds/MySound.wav");
foo.Play();