Fixes for v.0.7.20401
[pithos-ms-client] / trunk / Pithos.Interfaces / AccountSettings.cs
index 33ec9e5..a0bf8fe 100644 (file)
@@ -53,7 +53,12 @@ namespace Pithos.Interfaces
         
         public string AccountName { get; set; }
 
-        
+        public Uri AccountKey
+        {
+            get { return new Uri(new Uri(ServerUrl), AccountName); }
+        }
+
+
         public string ApiKey { get; set; }
 
         public bool IsActive { get; set; }
@@ -64,12 +69,7 @@ namespace Pithos.Interfaces
 
         private StringCollection _selectiveFolders = new StringCollection();
 
-        private bool _isExpired;
-        public bool IsExpired
-        {
-            get { return _isExpired; }
-            set { _isExpired = value; }
-        }
+        public bool IsExpired { get; set; }
 
         public StringCollection SelectiveFolders
         {