System.Net.CipherSuitesCallback Delegate
You can provide your own code to filter/re-order the cipher suites to be used for client and/or server side SSL/TLS support.

Syntax

public delegate IEnumerable<string> CipherSuitesCallback (SecurityProtocolType protocol, IEnumerable<string> allCiphers)

Parameters

protocol
The SSL/TLS protocol version used for the connection.
allCiphers
The ordered list of all supported cipher suites.

Returns

The ordered list of all cipher suites you wish to support.

Remarks

This type is only available in Mono and Xamarin products.

See the ServicePointManager.ClientCipherSuitesCallback property for examples of how this is used.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 4.0.0.0