Playing Audio With WMPLib.WindowsMediaPlayer

You need to use WMPLib.WindowsMediaPlayer if yuo want to play non .wav files otehrwise you'll have to resort to a third party library. Play File Example //Play the file WMPLib.WindowsMediaPlayer wplayer = new WMPLib.WindowsMediaPlayer(); wplayer.URL= TemporaryFilename;; Play From Stream You can't! Play Using Same Temporary File Example Global object WMPLib.WindowsMediaPlayer wplayer; Play the file //WindowsMediaPlayer […]

Read More