SslClientHelloInfo.ServerName 屬性

定義

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

public:
 property System::String ^ ServerName { System::String ^ get(); };
public string ServerName { get; }
member this.ServerName : string
Public ReadOnly Property ServerName As String

屬性值

備註

主機伺服器名稱需要伺服器名稱延伸模組 (SNI) 。 如果 SNI 延伸模組不存在,這個屬性會傳回空字串。

適用於