AWS SDK for .NET Documentation
WithMD5Digest Method (digest)
AmazonAmazon.S3.ModelPutObjectRequestWithMD5Digest(String) Did this page help you?   Yes   No    Tell us about it...
Sets an MD5 digest for the content.
Declaration Syntax
C#
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
public PutObjectRequest WithMD5Digest(
	string digest
)
Parameters
digest (String)
Computed MD5 digest value
Return Value
this instance
Remarks

The base64 encoded 128-bit MD5 digest of the message (without the headers) according to RFC 1864. This header can be used as a message integrity check to verify that the data is the same data that was originally sent.

If supplied, after the file has been uploaded to S3, S3 checks to ensure that the MD5 hash of the uploaded file matches the hash supplied.

Although it is optional, we recommend using the Content-MD5 mechanism as an end-to-end integrity check.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)