HttpContentHeaders.ContentMD5 Property

Definition

Gets or sets the value of the Content-MD5 content header on an HTTP response.

public:
 property cli::array <System::Byte> ^ ContentMD5 { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public byte[] ContentMD5 { get; set; }
public byte[]? ContentMD5 { get; set; }
member this.ContentMD5 : byte[] with get, set
Public Property ContentMD5 As Byte()

Property Value

Byte[]

The value of the Content-MD5 content header on an HTTP response.

Remarks

Due to collision problems with MD5, Microsoft recommends a security model based on SHA256 or better.

Applies to