I am having a WPF-MVVM desktop application. I want to play a media file in this application. The media file is stored at some remote server (actually hosted on IIS). It requires credentials to access it. I am using MediaElement to play the audio file.
The problem is how to specify the credentials with mediaElement?
One workaround is using HttpWebRequest & download the file in some temp folder. Onces downloaded then I can play the local file. But I don't want to create any file locally. Is there any way I can specify the Stream as input to MediaElement.
Atul Sureka