SslStream.TargetHostName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the server the client is trying to connect to. That name is used for server certificate validation. It can be a DNS name or an IP address.
public:
property System::String ^ TargetHostName { System::String ^ get(); };
public string TargetHostName { get; }
member this.TargetHostName : string
Public ReadOnly Property TargetHostName As String
Property Value
The name of the server the client is trying to connect to.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.