Dela via


HashAlgorithmNames Class

Definition

Contains static properties that enable you to retrieve algorithm names that can be used in the OpenAlgorithm method of the HashAlgorithmProvider class.

public ref class HashAlgorithmNames abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HashAlgorithmNames final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class HashAlgorithmNames
Public Class HashAlgorithmNames
Inheritance
Object Platform::Object IInspectable HashAlgorithmNames
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

All of the properties associated with this class are static. You do not need to create an instance of the class to retrieve a property value.

Properties

Md5

Retrieves a string that contains "MD5".

Sha1

Retrieves a string that contains "SHA1".

Sha256

Retrieves a string that contains "SHA256".

Sha384

Retrieves a string that contains "SHA384".

Sha512

Retrieves a string that contains "SHA512".

Applies to

See also