Skip to content

Commit e1814da

Browse files
Ankit-MSFTnavba-MSFT
authored andcommitted
Update UploadBlockBlob.cs
added disclaimer
1 parent 540d5b6 commit e1814da

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

Storage/Dotnet/UploadBlockBlob.cs

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,29 @@
1-
using Azure.Storage.Blobs.Specialized;
1+
//'By using the following materials or sample code you agree to be bound by the license terms below
2+
//'and the Microsoft Partner Program Agreement the terms of which are incorporated herein by this reference.
3+
//'These license terms are an agreement between Microsoft Corporation (or, if applicable based on where you
4+
//'are located, one of its affiliates) and you. Any materials (other than sample code) we provide to you
5+
//'are for your internal use only. Any sample code is provided for the purpose of illustration only and is
6+
//'not intended to be used in a production environment. We grant you a nonexclusive, royalty-free right to
7+
//'use and modify the sample code and to reproduce and distribute the object code form of the sample code,
8+
//'provided that you agree: (i) to not use Microsoft’s name, logo, or trademarks to market your software product
9+
//'in which the sample code is embedded; (ii) to include a valid copyright notice on your software product in
10+
//'which the sample code is embedded; (iii) to provide on behalf of and for the benefit of your subcontractors
11+
//'a disclaimer of warranties, exclusion of liability for indirect and consequential damages and a reasonable
12+
//'limitation of liability; and (iv) to indemnify, hold harmless, and defend Microsoft, its affiliates and
13+
//'suppliers from and against any third party claims or lawsuits, including attorneys’ fees, that arise or result
14+
//'from the use or distribution of the sample code."
15+
16+
// Dependencies: Following nuget packages needs to be installed
17+
// Azure.Storage.Blobs
18+
// System.Configuration.ConfigurationManager
19+
20+
// This class file contains .Net Core 3.1 sample code to upload data as mutiple blocks to form one blob on storage account
21+
22+
using Azure.Storage.Blobs.Specialized;
223
using System;
324
using System.Collections.Generic;
425
using System.Configuration;
526
using System.IO;
6-
using System.Linq;
727

828
namespace StorageSamples.BlobSamples
929
{

0 commit comments

Comments
 (0)