Esempio n. 1
0
 /// <summary>
 /// Bild auf Blob-Storage hochladen.
 /// </summary>
 /// <param name="data"></param>
 /// <param name="name"></param>
 /// <param name="container"></param>
 private static void _PutPicture(Stream data, string name, Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container)
 {
     var blob = container.GetBlockBlobReference(name + ".png");
     data.Seek(0, SeekOrigin.Begin);
     blob.UploadFromStream(data);
 }