SecurityAlgorithmSuite.DefaultSymmetricKeyLength Property


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

Gets the default symmetric key length as an Int32 value.

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

public abstract int DefaultSymmetricKeyLength { get; }

Property Value

Type: System.Int32

The default symmetric key length.

The returned value will vary depending on the subclass that implements it. For Basic256 encryption, it returns 256.

.NET Framework
Available since 3.0
Return to top