WebSocketClientUseSSL 方法 (X509Certificate) |
使用一个证书来初始化 SSL/TLS 通信
Use a certificate to initiate SSL/TLS communication
命名空间:
HslCommunication.WebSocket
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public void UseSSL(
X509Certificate certificate
)
Public Sub UseSSL (
certificate As X509Certificate
)
public:
void UseSSL(
X509Certificate^ certificate
)
member UseSSL :
certificate : X509Certificate -> unit
参数
- certificate
- 类型:System.Security.Cryptography.X509CertificatesX509Certificate
证书路径
参见