Share via


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 协议。

适用于