Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ITlsHandshakeFeature.HostName Property

Definition

Namespace:
Microsoft.AspNetCore.Connections.Features
Assembly:
Microsoft.AspNetCore.Connections.Abstractions.dll
Package:
Microsoft.AspNetCore.Connections.Abstractions v10.0.0
Package:
Microsoft.AspNetCore.Connections.Abstractions v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Connections.Abstractions v8.0.19
Package:
Microsoft.AspNetCore.Connections.Abstractions v9.0.8
Source:
ITlsHandshakeFeature.cs
Source:
ITlsHandshakeFeature.cs
Source:
ITlsHandshakeFeature.cs
Source:
ITlsHandshakeFeature.cs

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 host name from the "server_name" (SNI) extension of the client hello if present. See RFC 6066.

public virtual string HostName { get; }
member this.HostName : string
Public Overridable ReadOnly Property HostName As String

Property Value

Applies to


Feedback

Was this page helpful?