SecurityServices for .NET 2.0 Documentation

RC4CryptoServiceProvider.Mode Property

[This is preliminary documentation and subject to change.]

Gets or sets the mode for operation of the symmetric algorithm.

public override  Mode {get; set;}

Property Value

The mode for operation of the symmetric algorithm.

Remarks

RC4 only supports the OFB cipher mode. See CipherMode for a description of this mode.

Exceptions

Exception Type Condition
CryptographicException The cipher mode is not OFB.

See Also

RC4CryptoServiceProvider Class | Org.Mentalis.SecurityServices.Cryptography Namespace