Sdílet prostřednictvím


HashAlgorithmProvider.OpenAlgorithm(String) Method

Definition

Creates a HashAlgorithmProvider object and opens the specified algorithm for use.

public:
 static HashAlgorithmProvider ^ OpenAlgorithm(Platform::String ^ algorithm);
 static HashAlgorithmProvider OpenAlgorithm(winrt::hstring const& algorithm);
public static HashAlgorithmProvider OpenAlgorithm(string algorithm);
function openAlgorithm(algorithm)
Public Shared Function OpenAlgorithm (algorithm As String) As HashAlgorithmProvider

Parameters

algorithm
String

Platform::String

winrt::hstring

Algorithm name.

Returns

Represents a provider that implements hash algorithms.

Remarks

The following hashing algorithm names are supported:

Applies to