# ITlsHandshakeFeature.HostName

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Connections.Security/Security/ITlsHandshakeFeature.cs#L19)

```csharp
public virtual string HostName
```

Gets the host name from the "server_name" (SNI) extension of the client hello if present.
