Edit

Share via


AesCryptoServiceProvider.GenerateIV Method

Definition

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

public:
 override void GenerateIV();
public override void GenerateIV ();
[System.Security.SecurityCritical]
public override void GenerateIV ();
override this.GenerateIV : unit -> unit
[<System.Security.SecurityCritical>]
override this.GenerateIV : unit -> unit
Public Overrides Sub GenerateIV ()
Attributes

Exceptions

The initialization vector (IV) could not be generated.

Applies to