Dart.Emulation Namespace > ClientSecurity Class : TargetHost Property |
<DefaultValueAttribute()> Public Property TargetHost As String
Dim instance As ClientSecurity Dim value As String instance.TargetHost = value value = instance.TargetHost
[DefaultValue()] public string TargetHost {get; set;}
[DefaultValue()] public: __property string* get_TargetHost(); public: __property void set_TargetHost( string* value );
[DefaultValue()] public: property String^ TargetHost { String^ get(); void set ( String^ value); }
Used internally as the first parameter for SslStream.AuthenticateAsClient(), it will typically match the common name of the server-side certificate. .NET also uses this value to maintain an internal cache of SSL sessions that can be re-used.
If left empty, the value of the configured RemoteEndPoint.HostNameOrAddress will be used for authentication when available.