Partager via


SymmetricAlgorithmKeyCreator.KeyLength Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Gets the length of the key.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Design.dll)

Syntax

'Declaration
Public ReadOnly Property KeyLength As Integer
public int KeyLength { get; }
public:
virtual property int KeyLength {
    int get () sealed;
}
public final function get KeyLength () : int

Field Value

The length of the key.

Implements

IKeyCreator.KeyLength

See Also

SymmetricAlgorithmKeyCreator Class

Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Design Namespace