WithStoreCertificate 方法
使用存储证书连接到代理。
仅支持扩展名为
.pfx
的客户端证书。语法
connOption
.WithStoreCertificate
(Location
As MqttCertStoreLocation, Thumbprint
As String)其中
connOption
- 是由 MQTTFactory 对象的方法 CreateConnectOption
创建的 MQTTConnectOption 对象。Location
– 是 MqttCertStoreLocation 对象的常量。Thumbprint
- 是证书的指纹。提供反馈