C# - Error if Windows Media Player is not supported

Posted by f4bzen on Stack Overflow See other posts from Stack Overflow or by f4bzen
Published on 2012-09-27T21:32:15Z Indexed on 2012/09/27 21:37 UTC
Read the original article Hit count: 272

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about Windows