Partilhar via


SecurityKey.IsSupportedAlgorithm(String) Method

Definition

Checks if CryptoProviderFactory can perform the cryptographic operation specified by the algorithm with this SecurityKey.

public virtual bool IsSupportedAlgorithm (string algorithm);
abstract member IsSupportedAlgorithm : string -> bool
override this.IsSupportedAlgorithm : string -> bool
Public Overridable Function IsSupportedAlgorithm (algorithm As String) As Boolean

Parameters

algorithm
String

the algorithm to be used.

Returns

true if CryptoProviderFactory can perform the cryptographic operation sepecified by the algorithm with this SecurityKey.

Applies to