Freigeben über


BaseReference.Hash Property

Definition

Specifies the SHA1 hash of the file.

public:
 property System::String ^ Hash { System::String ^ get(); void set(System::String ^ value); };
public string Hash { get; set; }
public string Hash { get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.Hash : string with get, set
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Hash : string with get, set
Public Property Hash As String

Property Value

A string indicating the SHA1 hash of the file.

Attributes

Remarks

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

Applies to