Bonjour,
J'ai un code C# pour télécharger un blob , ca marche
mais le débit n'est pas terrible.
Comment télécharger ceux-ci avec un débit maximal ?
Merci
Code:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 public Stream DownloadFromTree(string filename) { Stream retr = null; // if (CloudStorageAccount.TryParse(roots, out CloudStorageAccount storageAccount)) { { CloudBlob file = container.GetBlobReference(filename); if (file.Exists()) { MemoryStream ms = new MemoryStream(); file.FetchAttributes(); file.DownloadToStream(ms); ms.Position = 0; retr = ms; } } } return retr; }
Partager