Changed proxy settings to request update if the proxy requires authentication
[pithos-ms-client] / trunk / Pithos.Network / ICloudClient.cs
index e41536c..070468b 100644 (file)
@@ -1,6 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Diagnostics.Contracts;
+using System.Net;
 using System.Threading.Tasks;
 using Pithos.Interfaces;
 
@@ -18,7 +19,7 @@ namespace Pithos.Network
 
         bool UsePithos { get; set; }
         AccountInfo Authenticate();
-        Uri Proxy { get; set; }
+        WebProxy Proxy { get; set; }
         double DownloadPercentLimit { get; set; }
         double UploadPercentLimit { get; set; }
         string AuthenticationUrl { get; set; }
@@ -75,7 +76,7 @@ namespace Pithos.Network
         public Uri StorageUrl { get; set; }
         public string Token { get; set; }
 
-        public Uri Proxy { get; set; }
+        public WebProxy Proxy { get; set; }
         public double DownloadPercentLimit { get; set; }
         public double UploadPercentLimit { get; set; }