# ITlsHandshakeFeature Properties

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

## CipherAlgorithm {#cipheralgorithm-88b96d91}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/properties/cipheralgorithm-88b96d91/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract CipherAlgorithmType CipherAlgorithm
```

## CipherStrength {#cipherstrength-df968550}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/properties/cipherstrength-df968550/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract int CipherStrength
```

## HashAlgorithm {#hashalgorithm-a7a5d41f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/properties/hashalgorithm-a7a5d41f/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract HashAlgorithmType HashAlgorithm
```

## HashStrength {#hashstrength-f177bdc3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/properties/hashstrength-f177bdc3/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract int HashStrength
```

## HostName {#hostname-211566e8}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/properties/hostname-211566e8/)

[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.

## KeyExchangeAlgorithm {#keyexchangealgorithm-7e272ca6}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/properties/keyexchangealgorithm-7e272ca6/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract ExchangeAlgorithmType KeyExchangeAlgorithm
```

## KeyExchangeStrength {#keyexchangestrength-598342c1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/properties/keyexchangestrength-598342c1/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract int KeyExchangeStrength
```

## NegotiatedCipherSuite {#negotiatedciphersuite-89998896}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/properties/negotiatedciphersuite-89998896/)

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

```csharp
public virtual TlsCipherSuite? NegotiatedCipherSuite
```

Gets the `System.Net.Security.TlsCipherSuite`.

## Protocol {#protocol-af4eeb6c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.itlshandshakefeature/properties/protocol-af4eeb6c/)

```csharp
public abstract SslProtocols Protocol
```
