Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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


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

 

 

Show:
© 2014 Microsoft