Querying the Windows Media Player library [duplicate]
Possible Duplicate:
Access the Windows Media Player library C#
I'm trying to figure out how to programmatically query the Windows Media Player library from a C# program. I don't want to control t开发者_如何学JAVAhe media player, just be able to query the index of recordings stored in the library.
Using OleDbConnections I have been able to connect to the Windows SystemIndex to query for various files and conditions, but these searches are across all files in my system and not just those maintained in the WMP library.
Can anyone point me in the right direction, please?
-- Robert
MSDN has a whole section on the Media Player SDK - and this page in particular should be of considerable use to you, I hope.
精彩评论