Fixes for v.0.7.20401
[pithos-ms-client] / trunk / Pithos.Network / ContainerInfo.cs
index 718b827..6e0295c 100644 (file)
@@ -48,6 +48,7 @@ namespace Pithos.Network
     {
         public string Account { get; set; }
         public string Name { get; set; }
+        public string StorageUrl { get; set; }
         public long Count { get; set; }
         public long Bytes { get; set; }
         public string BlockHash { get; set; }
@@ -58,6 +59,12 @@ namespace Pithos.Network
         public Dictionary<string, string> Tags { get; set; }
         public Dictionary<string, string> Policies { get; set; }
 
+        public Uri AccountKey
+        {
+            get { return new Uri(new Uri(StorageUrl), "../" + Account); }
+        }
+
+
         public static ContainerInfo Empty=new ContainerInfo();
 
         public ContainerInfo()