Added support for GSHAREDVT and DYNCALL on Windows x64 for full AOT builds.
[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 using System;
11 using System.Collections.Generic;
12
13 namespace System.Net {
14
15         /*
16          * The idea behind this API was to let the application filter the set of cipher suites received / send to
17          * the remote side.  This concept does not any longer work with the new native implementations.
18          */
19
20         [Obsolete ("This API is no longer supported.")]
21         public delegate IEnumerable<string> CipherSuitesCallback (SecurityProtocolType protocol, IEnumerable<string> allCiphers);
22
23         public partial class ServicePointManager {
24
25                 [Obsolete ("This API is no longer supported.", true)]
26                 public static CipherSuitesCallback ClientCipherSuitesCallback { get; set; }
27
28                 [Obsolete ("This API is no longer supported.", true)]
29                 public static CipherSuitesCallback ServerCipherSuitesCallback { get; set; }
30         }
31 }