HashAlgorithmNames 類別

定義

包含靜態屬性,可讓您擷取可在 HashAlgorithmProvider類別之 OpenAlgorithm方法中使用的演算法名稱。

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
繼承
Object Platform::Object IInspectable HashAlgorithmNames
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

與這個類別相關聯的所有屬性都是靜態的。 您不需要建立 類別的實例,即可擷取屬性值。

屬性

Md5

擷取包含 「MD5」 的字串。

Sha1

擷取包含 「SHA1」 的字串。

Sha256

擷取包含 「SHA256」 的字串。

Sha384

擷取包含 「SHA384」 的字串。

Sha512

擷取包含 「SHA512」 的字串。

適用於

另請參閱