Gets or sets the initialization vector (IV) for the symmetric algorithm.
The initialization vector.
If this property is a null reference (Nothing in Visual Basic) when it is used, GenerateIV is called to create a new random value.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | An attempt is made to set the IV to a null reference (Nothing in Visual Basic). |
| CryptographicException | An attempt is made to set the IV to an invalid size. |
RijndaelCryptoServiceProvider Class | RijndaelCryptoServiceProvider Members | Org.Mentalis.Security.Cryptography Namespace