I want to play a mid sound which embedded in my resources file , its in byte , I searched a lot I found most answers like this ,I changed it to my resouces like this
Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("WindowsFormsApplication1.Properties.Resources.music.mid");
but it gives me an exception of null
, waht I excactly want is to read this sound , if in byte or another alternative way possible .