HttpContentHeaders.ContentMD5 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 HTTP 回應中內容標頭的值 Content-MD5 。
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()
屬性值
Byte[]
HTTP 回應上的內容標頭值 Content-MD5 。
備註
由於與 MD5 有碰撞問題,Microsoft 建議採用基於 SHA-256 或更完善的安全模型。