SecurityAlgorithmSuite.IsDigestAlgorithmSupported Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Indicates whether a digest algorithm is supported.

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

public virtual bool IsDigestAlgorithmSupported(
	string algorithm
)

Parameters

algorithm
Type: System.String

The algorithm name to check.

Return Value

Type: System.Boolean

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

algorithm gets compared to the string returned from DefaultDigestAlgorithm.

.NET Framework
Available since 3.0
Return to top
Show: