AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Contains the Amazon S3 Glacier response to your request.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Glacier.Model.UploadMultipartPartResponse

Namespace: Amazon.Glacier.Model
Assembly: AWSSDK.Glacier.dll
Version: 3.x.y.z

Syntax

C#
public class UploadMultipartPartResponse : AmazonWebServiceResponse

The UploadMultipartPartResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Checksum System.String

Gets and sets the property Checksum.

The SHA256 tree hash that Amazon S3 Glacier computed for the uploaded part.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

The example uploads the first 1 MiB (1024 x 1024 bytes) part of an archive.

To upload the first part of an archive


var client = new AmazonGlacierClient();
var response = client.UploadMultipartPart(new UploadMultipartPartRequest 
{
    AccountId = "-",
    Body = new MemoryStream(part1),
    Checksum = "c06f7cd4baacb087002a99a5f48bf953",
    Range = "bytes 0-1048575/*",
    UploadId = "19gaRezEXAMPLES6Ry5YYdqthHOC_kGRCT03L9yetr220UmPtBYKk-OssZtLqyFu7sY1_lR7vgFuJV6NtcV5zpsJ",
    VaultName = "examplevault"
});

string checksum = response.Checksum;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5