Creates the super storage object.
// You need to assign your bucket in your code string bucket = "TestBucket"; // You need to assign your object name (file name) in your code string objectName = "mergeTest.txt"; // You need to assign your app key and your secret key in your code var client = new BaiduBCSClient("your app key", "your secret key"); // This is just a test. We need to get bytes. File.WriteAllText(@"D:\" + objectName, "Test string \n\r Hello world. Large File!!"); byte[] content = File.ReadAllBytes(@"D:\" + objectName); // If you set [deletePartsWhenFinish] as false, all small pieces of large file would be remained. // Default value for [deletePartsWhenFinish ] is [True]. var md5 = client.CreateSuperStorageObject(new StorageObjectUploadRequest { BucketName = bucket, ObjectName = objectName, Bytes = content }, 10, true);