MacAlgorithmProvider.OpenAlgorithm(String) Method

Definition

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

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

Parameters

algorithm
String

Platform::String

winrt::hstring

Algorithm name.

Returns

Represents a provider that implements MAC algorithms.

Remarks

The following algorithm names are supported for use in the MacAlgorithmProvider class:

Applies to