SecurityKey.IsSymmetricAlgorithm(String) Method

Definition

When overridden in a derived class, gets a value that indicates whether the specified algorithm uses symmetric keys.

public:
 abstract bool IsSymmetricAlgorithm(System::String ^ algorithm);
public abstract bool IsSymmetricAlgorithm (string algorithm);
abstract member IsSymmetricAlgorithm : string -> bool
Public MustOverride Function IsSymmetricAlgorithm (algorithm As String) As Boolean

Parameters

algorithm
String

The cryptographic algorithm.

Returns

Boolean

true when the specified algorithm uses symmetric keys; otherwise, false.

Remarks

Use the static fields of the SecurityAlgorithms class to specify the algorithm.

Applies to