This documentation is archived and is not being maintained.

SecurityAlgorithmSuite.IsSymmetricKeyLengthSupported Method

When overridden in a derived class, indicates whether a particular symmetric key length is supported.

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

public abstract bool IsSymmetricKeyLengthSupported (
	int length
)
public abstract boolean IsSymmetricKeyLengthSupported (
	int length
)
public abstract function IsSymmetricKeyLengthSupported (
	length : int
) : boolean
Not applicable.

Parameters

length

The key length to check.

Return Value

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

The length is compared to a range of values depending on the subclass. For example, in the TripleDES subclass, this method verifies that length is between 192 and 256, inclusive.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: