Mentalis.org Security Library documentation

RC4CryptoServiceProvider.KeySize Property

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

[Visual Basic]
Overrides Public Property KeySize As Integer
[C#]
public override int KeySize {get; set;}

Property Value

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

Exceptions

Exception TypeCondition
CryptographicExceptionThe key size is not valid.

See Also

RC4CryptoServiceProvider Class | RC4CryptoServiceProvider Members | Org.Mentalis.Security.Cryptography Namespace