There is no such namespace or class in windows that can help you with this; But you can use the MediaInfo source code which is able to read metadata information from all kinds of media files. MediaInfo source is available as an open source so you can use that .
You will find MediaInfo source code here
http://mediainfo.sourceforge.net/en/Download/Source[
^]
Download the the one that has been compiled with visual C++.
Mark as answered if you found what you wanted.