SoundPlayer foo = new SoundPlayer(@"pack://application:,,,/SoundExample;component/Sounds/MySound.wav"); foo.Play();