Authorization 方法 |
Authorization 类型公开以下成员。
名称 | 说明 | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
GetHashCode | Serves as the default hash function. (继承自 Object。) | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
SetAuthorizationCode(String) |
设置本组件系统的授权信息,如果激活失败,只能使用24小时,24小时后所有的网络通信不会成功 Set the authorization information of this component system. If the activation fails, it can only be used for 8 hours. All network communication will not succeed after 8 hours | |
SetAuthorizationCode(String, Int32, String) |
通过指定的IP地址,端口号信息的接口服务器获取密钥,然后进行激活,适用局域网内一个主服务对其他电脑的激活操作。如果网络失败或是密钥不正确,则激活失败。 The interface server obtains the key through the specified IP address and port number information, and then activates it, which applies to the activation operation of one main service in the LAN to other computers. If the network fails or the key is incorrect, activation fails. | |
SetDllContact |
设置本组件激活失败的情况时候的联系方式,可以设置成自定义的字符串,当且仅当企业用户激活成功后调用本方法有效,如果不设置默认为:联系QQ200962190,微信:13516702732,Email:hsl200909@163.com Set the contact information when the activation of this component fails, can be set to a custom string, if and only if the enterprise user activation is successful to call this method is valid, if not set the default is: contact QQ200962190, WeChat: 13516702732,Email:hsl200909@163.com | |
SetHslCertificate |
使用证书激活hslcommunication组件,证书请联系胡工科技获取,如果获取的是文件的话,那就是 SetHslCertificate( File.ReadAllBytes( "hsl.cert" ) ) 获取原始字节信息 Use the certificate to activate the hslcommunication component, please contact Hugong Technology to obtain the certificate, if the obtained is a file, that is, SetHslCertificate( File.ReadAllBytes( "hsl.cert") ) to obtain the raw byte information | |
ToString | Returns a string that represents the current object. (继承自 Object。) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |