Skip to main content
HashAlgorithmNames class

Applies to Windows and Windows Phone

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

Syntax


var hashAlgorithmNames = Windows.Security.Cryptography.Core.HashAlgorithmNames;

public static class HashAlgorithmNames

Public NotInheritable Class HashAlgorithmNames

public ref class HashAlgorithmNames abstract sealed 

Attributes

[ DualApiPartition()]
[ MarshalingBehavior(Agile)]
[ Version(0x06020000)]

Members

The HashAlgorithmNames class has these types of members:

Methods

The HashAlgorithmNames class inherits methods from the Object class (C#/VB/C++).

Properties

The HashAlgorithmNames class has these properties.

PropertyAccess typeDescription

Md5

Read-onlyRetrieves a string that contains "MD5".

Sha1

Read-onlyRetrieves a string that contains "SHA1".

Sha256

Read-onlyRetrieves a string that contains "SHA256".

Sha384

Read-onlyRetrieves a string that contains "SHA384".

Sha512

Read-onlyRetrieves a string that contains "SHA512".

 

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.

Requirements

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.winmd

See also

HashAlgorithmProvider
Object