AuthorizationSetHslCertificate 方法 |
使用证书激活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
命名空间:
HslCommunication
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult SetHslCertificate(
byte[] cert
)
Public Shared Function SetHslCertificate (
cert As Byte()
) As OperateResult
public:
static OperateResult^ SetHslCertificate(
array<unsigned char>^ cert
)
static member SetHslCertificate :
cert : byte[] -> OperateResult
参数
- cert
- 类型:SystemByte
证书信息
返回值
类型:
OperateResult是否激活成功
参见