访问 Windows Media Player 库 C#
我试图找出如何在 C# 中访问 Windows Media Player 库。我浏览了网络和 SO,发现了很多关于控制 WMP 的文章。不过,我正在尝试访问其图书馆信息。即它的曲目名称、文件路径和元数据。
是否有一个库可以实现此目的,或者至少将其存储在某种形式的数据库中?
谢谢,本
I am trying to find out how to access the Windows Media Player library in c#. I have had a look around the web and SO and have found many articles on controlling WMP. I am trying to access its library information however. I.e. its track names, file path and metadata.
Is there a library for this or at least does it store it in some form of database somewhere?
Thanks, Ben
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
创建一个Windows窗体并在其上放置一个WMP组件,命名为
WMPLayer
:在
getByAttribte
中填写不同的参数以获得您想要的。Create a windows form and place a WMP component on it, named
WMPLayer
:Fill in different parameters in
getByAttribte
to get what you want.