[SSL/TLS] Expose Client/Server callbacks that can be used to select/reorder SSL/TLS...
[mono-project.git] / mcs / class / System / System.Net / ServicePointManager.extra.cs
blob30443637854ade6db9be4d55ceec918b13866139
1 //
2 // Extra Mono-specific API for ServicePointManager
3 //
4 // Authors
5 // Sebastien Pouliot <sebastien@xamarin.com>
6 //
7 // Copyright 2013-2014 Xamarin Inc.
8 //
10 using System;
11 using System.Collections.Generic;
13 namespace System.Net {
15 public delegate IEnumerable<string> CipherSuitesCallback (SecurityProtocolType protocol, IEnumerable<string> allCiphers);
17 public partial class ServicePointManager {
19 public static CipherSuitesCallback ClientCipherSuitesCallback { get; set; }
21 public static CipherSuitesCallback ServerCipherSuitesCallback { get; set; }