コード例 #1
0
        public async Task TestDownload()
        {
            CloudBlockBlob blob = await CreateEmptyBlob("blob");

            AzureBlob azureBlob = new AzureBlob(blob);

            string path = Path.Combine(Path.GetTempPath(), "azureblobtest");

            File.Delete(path);

            await azureBlob.Download(path);

            Assert.IsTrue(File.Exists(path));
        }