Hi,
I have a program. When I'm testing it on my Windows 8 x64 pc all good. But when I use program on Windows Server 2012 through RDP this program don't play sounds. I use methods SystemSounds.Beep.Play() or SystemSounds.Asterisk.Play() in this program.
When I use
string file = @"c:\test1.wav"; var sound = new System.Media.SoundPlayer(file); sound.Play();instead of SystemSounds.Asterisk.Play() program plays sound normal through RDP. I need to play sounds using SystemSounds.Asterisk.Play().