StreamWebSocketControl.ClientCertificate 属性

定义

获取建立安全 WebSocket 连接时客户端提供的证书。

public:
 property Certificate ^ ClientCertificate { Certificate ^ get(); void set(Certificate ^ value); };
Certificate ClientCertificate();

void ClientCertificate(Certificate value);
public Certificate ClientCertificate { get; set; }
var certificate = streamWebSocketControl.clientCertificate;
streamWebSocketControl.clientCertificate = certificate;
Public Property ClientCertificate As Certificate

属性值

客户证书。

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

适用于

另请参阅