Thanks for the WM fix. Wish the other containers worked as well. Here's a link to and open source .DLL for Media Info. Currently the de-facto tool for discerning stream information. Perhaps the source would be worth a look or DLL could operate as a plugin. It is well documented.
http://sourceforge.net/project/showfiles.php?group_id=86862&package_id=90614
There are several varieties: GUI, CLI and DLL. The main project page is: