我想把打过包的文件中的认证地址改 请问怎么办,除了重新打包!
解决方案 »
- 求C#算法
- 用图片代替 FileUpload控件。。。。
- 没有用密码却连上了数据库,怎么回事
- SetToolTip怎么不能绑定notifyIcon控件
- 在编译时出现错误:...\obj\Debug\CSC4F.tmp不是有效的 Win32 资源文件
- dataGridView选中一行为起点,另外在选中一行为终点,怎么获取起点到终点的所有数据 ?(winform))
- Win7修改系统音量 C#
- 如何得到删除掉的记录,dataSet中
- window ce 程序检测是否连接到webservice服务器
- 各位大神,请教下C#调用C++动态库的问题,一直报内存损坏,请教下应该用什么类型,以下是dll的代码
- C#.net 2005 做一个C/S程序画流程图
- C#高手,为什么x=24,在经过x<<=25以后,x的值就成了0????
更改头的话,你用的应该是download类
查到错误返回值是什么了吗?
Return code Description
0x80041108 Invalid content header.
0x8004110B Unsupported content header version.
0xC004291F This method does not support Windows Media Rights Manager 1.
0xC0042911 The InputFile property must be set before calling this method.
0xC004291A The input file must be protected.
0xC004291E The object was not created with Server.CreateObject.
0xC0042905 The property has not been set.
The basic process for modifying a content header dynamically is as follows: 1.Determine the path and file name of the packaged file to modify.
2.Use the Download.GetDRMHeader method to obtain the current content header and modify it as needed. For example, to add new attributes.
If you want to create a new content header and do not need the original one, you can skip this step.3.Sign the new header.
4.Generate the new header.
5.Add the new header to the packaged file by using the Download.Download or Download.DownloadEx method (the Download.DownloadEx method has additional options). 你可以用Download类看看,如果不行的话也没有办法了,以前没测过重新换URL打包的例子。
试试看吧,估计可能不行,否则一个音乐厂商可以直接使用另一个音乐厂商的drm文件了.
这个里面有关于DRM SDK详细的文档解答这里有详细的研究和文档说明