在Asp中可以用下面方法建立一个对象。
Dim objChallenge
Dim objHeader
Dim objKey
Dim objRights
Dim objLicense Set objChallenge = Server.CreateObject("wmrmobjs.wmrmchallenge")
set objChallenge = nothing
'Set the Header object
Set objHeader = Server.CreateObject("wmrmobjs.wmrmheader")'Generate the key from the Key object
Set objKey = server.CreateObject("wmrmobjs.wmrmkeys")'"""""""""""""""""""""""""""""""
'Rights object to generate rights
'"""""""""""""""""""""""""""""""
Set objRights = server.CreateObject("wmrmobjs.wmrmRights")'"""""""""""""""""""""""""""""""""
'Generate a license with the License object
'"""""""""""""""""""""""""""""""""
Set objLicense = Server.CreateObject("wmrmobjs.wmrmlicgen")
我现在在asp.net的C#中要如何建立这个对象呢?
Dim objChallenge
Dim objHeader
Dim objKey
Dim objRights
Dim objLicense Set objChallenge = Server.CreateObject("wmrmobjs.wmrmchallenge")
set objChallenge = nothing
'Set the Header object
Set objHeader = Server.CreateObject("wmrmobjs.wmrmheader")'Generate the key from the Key object
Set objKey = server.CreateObject("wmrmobjs.wmrmkeys")'"""""""""""""""""""""""""""""""
'Rights object to generate rights
'"""""""""""""""""""""""""""""""
Set objRights = server.CreateObject("wmrmobjs.wmrmRights")'"""""""""""""""""""""""""""""""""
'Generate a license with the License object
'"""""""""""""""""""""""""""""""""
Set objLicense = Server.CreateObject("wmrmobjs.wmrmlicgen")
我现在在asp.net的C#中要如何建立这个对象呢?
解决方案 »
- 生成预览事件里面 如果往图上画“虚字”?
- 问个多线程的问题,求大神帮忙。。。。。。。。。。。。。。。。。。。。。。。
- C#问题?
- 超级难题啊!!!如何用C#读取主板是否开启了自动开机功能?
- c#的局部变量VS全局变量
- 请各位大虾指点指点。。。。。
- visual studio 的安装项目中,怎么设置把一个dll安装到GAC中
- C#的winform程序 动态创建checkbox并一行能显示多个chekbox
- WinForm中,如何做到多国化语言控制?
- 请问各位高手,怎么样通过 Splitter 来改变其它控件的宽度呢?
- 怎么获取上传文件的原名字?
- c#中Propertites文件夹里面的文件有什么作用?
object _ObjLicense =System.Activator.CreateInstance(_ObjType);看看行不
AxtiveX还是别的组件?
The WMRMChallenge object is used to process a challenge from the client. A challenge is a request from the consumer for a license and contains the following information: Version 10 content header (backward compatible with version 7.1):
The key ID used to create a key.
A content ID to uniquely identify the encrypted content.
Attributes that identify the content.
A URL identifying the Internet address of the license issuer (the license acquisition URL).
The minimum application security version number required to play content.
Information about the consumer's computer:
An encrypted client ID.
The version of Windows Media Rights Manager on the consumer's computer.
The individualized version number on the consumer's computer.
Information about the secure audio path (SAP) kernel component.
InterfaceIRMGetLicense Provides methods to store and predeliver a license.
IWMRMCoding Converts between text and binary strings.
IWMRMHeaderSigning Signs the ASF content header in memory.