Remotable Windows Media Player in C#

Last August, I wrote a post talking about my efforts to create a remotable version of Windows Media Player from within C#.

It's pretty easy to use COM interop to embed an instance of the windows media player in a C# application, but there's a class of applications where you'd like to be able to control the full instance of WMP.

I got my stuff to work with a C++ shim that an acquaintance wrote for me, but it wasn't terribly elegant and made the project more complicated, and I'm by no means enough of a COM expert to consider trying to write it in C#.

Luckily, there are people who *are* experienced enough in that area to do so, and a week or so ago I got an email from Jonathan Dibble, a Microsoft Consultant who works in New York, saying that he had written this, and asking me if I was interested.

So, courtesy of Jonathan, I'm pleased to present Remoting Windows Media Player in C#.

Enjoy.