Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
HashAlgorithmNames Class
Definition
- Namespace:
- Windows.Security.Cryptography.Core
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
Feedback
Was this page helpful?
