Basic256SecurityAlgorithmSuite.IsSymmetricKeyLengthSupported Method (Int32)

.NET Framework (current version)
 
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.

Returns true if the specified symmetric key length is supported; otherwise, returns false. The only valid length is 256.

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

public override bool IsSymmetricKeyLengthSupported(
	int length
)

Parameters

length
Type: System.Int32

The symmetric key length.

Return Value

Type: System.Boolean

true if the specified symmetric key length is supported; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: