ServicePointManager.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. //
  2. // System.Net.ServicePointManager
  3. //
  4. // Author:
  5. // Lawrence Pit ([email protected])
  6. //
  7. using System;
  8. using System.Security.Cryptography.X509Certificates;
  9. namespace System.Net
  10. {
  11. public class ServicePointManager
  12. {
  13. // Fields
  14. public const int DefaultNonPersistentConnectionLimit = 4;
  15. public const int DefaultPersistentConnectionLimit = 2;
  16. // Constructors
  17. private ServicePointManager ()
  18. {
  19. }
  20. // Properties
  21. [MonoTODO]
  22. public static ICertificatePolicy CertificatePolicy {
  23. get { throw new NotImplementedException (); }
  24. set { throw new NotImplementedException (); }
  25. }
  26. [MonoTODO]
  27. public static int DefaultConnectionLimit {
  28. get { throw new NotImplementedException (); }
  29. set { throw new NotImplementedException (); }
  30. }
  31. [MonoTODO]
  32. public static int MaxServicePointIdleTime {
  33. get { throw new NotImplementedException (); }
  34. set { throw new NotImplementedException (); }
  35. }
  36. [MonoTODO]
  37. public static int MaxServicePoints {
  38. get { throw new NotImplementedException (); }
  39. set { throw new NotImplementedException (); }
  40. }
  41. // Methods
  42. [MonoTODO]
  43. public static ServicePoint FindServicePoint (Uri address)
  44. {
  45. throw new NotImplementedException ();
  46. }
  47. [MonoTODO]
  48. public static ServicePoint FindServicePoint (string uriString, IWebProxy proxy)
  49. {
  50. throw new NotImplementedException ();
  51. }
  52. [MonoTODO]
  53. public static ServicePoint FindServicePoint (Uri address, IWebProxy proxy)
  54. {
  55. throw new NotImplementedException ();
  56. }
  57. }
  58. }