Export (0) Print
Expand All

RC2CryptoServiceProvider.GenerateIV Method

Generates a random initialization vector (IV) to use for the algorithm.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

abstract GenerateIV : unit -> unit  
override GenerateIV : unit -> unit

Use this method to generate a random IV when none is specified.

The following code example encrypts and then decrypts a string.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft