Gets or sets the size of the secret key used by the symmetric algorithm in bits.

Namespace: LLCryptoLib.Security.Cryptography
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public override int KeySize { get; set; }
Visual Basic
Public Overrides Property KeySize As Integer
	Get
	Set
Visual C++
public:
virtual property int KeySize {
	int get () override;
	void set (int value) override;
}

Field Value

The size of the secret key used by the symmetric algorithm.

Exceptions

ExceptionCondition
System.Security.Cryptography..::..CryptographicExceptionThe key size is not valid.

See Also