C# - Error if Windows Media Player is not supported
- by f4bzen
i´m using the windows media player (Interop.WMPLib.dll & AxInterop.WMPLib.dll) in my c#-project to stream a mp3 from a server. The only problem is, if the windows media player is somehow not supported on a pc (not installed or something), my application just gives an error (no exception, just a "windows-error") and won´t start.
So, is it possible to check, if the windows media player is supported? Just checking if the OS is supported will probably not help.
Are there maybe some better ways to stream mp3s than with the WMP ?
Thanks in advance.