SecurityServices for .NET 2.0 Documentation

RC4CryptoServiceProvider.KeySize Property

[This is preliminary documentation and subject to change.]

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

publicoverrideKeySize{get;set;}

Property Value

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

Exceptions

Exception Type Condition
CryptographicException The key size is not valid.

See Also

RC4CryptoServiceProvider Class | Org.Mentalis.SecurityServices.Cryptography Namespace