点击或拖拽改变大小

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 中) 版本:11.8.2.0 (11.8.2.0)
语法
public static OperateResult SetHslCertificate(
	byte[] cert
)

参数

cert
类型:SystemByte
证书信息

返回值

类型:OperateResult
是否激活成功
参见