在試圖建立一個SslStream
中,例如在客戶端撥打電話:我在哪裏可以找到我的X509證書的「targetHost」?
sslStream.AuthenticateAsClient(targetHost);
對於AuthenticateAsClient
,文檔指出「The value specified for targetHost must match the name on the server's certificate.
」
怎樣才能找到我的X509證書的targetHost
?