SslClientHelloInfo(String, SslProtocols) 建構函式

定義

初始化 SslClientHelloInfo 的新執行個體。

public:
 SslClientHelloInfo(System::String ^ serverName, System::Security::Authentication::SslProtocols sslProtocols);
public SslClientHelloInfo (string serverName, System.Security.Authentication.SslProtocols sslProtocols);
new System.Net.Security.SslClientHelloInfo : string * System.Security.Authentication.SslProtocols -> System.Net.Security.SslClientHelloInfo
Public Sub New (serverName As String, sslProtocols As SslProtocols)

參數

serverName
String

用戶端指定的主機伺服器值。

sslProtocols
SslProtocols

用戶端提供的 TLS/SSL 通訊協定。

適用於