共用方式為


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 引進)

適用於

另請參閱