SecurityAlgorithmSuite.IsEncryptionAlgorithmSupported Method (String)

 

Indicates whether an encryption algorithm is supported.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public virtual bool IsEncryptionAlgorithmSupported(
	string algorithm
)

Parameters

algorithm
Type: System.String

The algorithm name to check.

Return Value

Type: System.Boolean

true if the encryption algorithm is supported; otherwise, false.

algorithm gets compared to the string returned from DefaultEncryptionAlgorithm.

.NET Framework
Available since 3.0
Return to top
Show: