MqttConnectionOptionsSSLSecure 属性 |
在使用证书的情况下,获取或设置是否对服务器的证书进行检查并校验的操作,如果设置为True,也就是检查,安全性更高,反之不检查服务器的证书是否合法
In the case of using a certificate, obtain or set whether to check and verify the server's certificate, if set to True,
that is, check, the security is higher, and vice versa, the server's certificate is not checked
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public bool SSLSecure { get; set; }
Public Property SSLSecure As Boolean
Get
Set
public:
property bool SSLSecure {
bool get ();
void set (bool value);
}
member SSLSecure : bool with get, set
属性值
类型:
Boolean参见