如何在C#中读取asf头?

发布于 2024-08-17 11:42:54 字数 102 浏览 4 评论 0原文

有了一个 wma 文件,如何使用 C# 解析标头?

目的是在内容加密对象(构成 DRM 许可证的一部分)中查找密钥 ID。您使用 WM 格式 SDK 或 WM 权限管理器吗?

Having a wma file, how can one parse the header using c#?

The purpose is to find the Key ID in the Content Encryption Object (that forms a part of the DRM license). Do you use the WM Format SDK or WM rights manager?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

子栖 2024-08-24 11:42:54

WMA 文件采用 ASF 格式。您可以从 Microsoft 下载 ASF 规范

WMA files are in the ASF format. You can download the ASF specification from microsoft.

许一世地老天荒 2024-08-24 11:42:54

There are sample code included in the Microsoft Media Format 11 SDK that display how to read headers from the ASF file format .

Good Luck!

时光暖心i 2024-08-24 11:42:54

框架中有一个WindowsMediaPlayer类。它可以打开 asf 文件并读取其他库 (taglib) 无法读取的特定标头标志(例如预缓冲时间)。

There is a WindowsMediaPlayer class in the framework. It can open asf files and read particular header flags (like prebuffer time), that other libraries (taglib) do not read.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文