Merge pull request #3066 from alexanderkyte/pedump_sgen
[mono.git] / mcs / class / System / System.Net / ServicePointManager.extra.cs
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 //
9
10 #if MOBILE
11
12 using System;
13 using System.Collections.Generic;
14
15 namespace System.Net {
16
17         /*
18          * The idea behind this API was to let the application filter the set of cipher suites received / send to
19          * the remote side.  This concept does not any longer work with the new native implementations.
20          */
21
22         [Obsolete ("This API is no longer supported.")]
23         public delegate IEnumerable<string> CipherSuitesCallback (SecurityProtocolType protocol, IEnumerable<string> allCiphers);
24
25         public partial class ServicePointManager {
26
27                 [Obsolete ("This API is no longer supported.", true)]
28                 public static CipherSuitesCallback ClientCipherSuitesCallback { get; set; }
29
30                 [Obsolete ("This API is no longer supported.", true)]
31                 public static CipherSuitesCallback ServerCipherSuitesCallback { get; set; }
32         }
33 }
34
35 #endif