User109095732 posted
Hi, I need some help to solve my problem.
I'm using an application on a machine, when an application on my machine, it emits a sound, but when I test on another machine that accesses an application by ip machine after uploading location, for example:
http://192.168.96.123:52441/PetShop2/Login/Login, the sound does not come out.
I would like to know what might be blocking a sound output or some disk drive that so my machine has !?
I am saving the .wav format sound file on this path:
Content -> Sounds
And perform this function to make a sound call
var filePath = System.Web.Hosting.HostingEnvironment.MapPath("~/Content/Sounds/OrderLate.wav");
using (var soundPlayer = new SoundPlayer(filePath))
{
soundPlayer.Play();
}
Well, that's it, I thank the attention. Thank you ^^