This documentation is archived and is not being maintained.

SymmetricAlgorithm.GenerateIV Method

When overridden in a derived class, generates a random initialization vector (IV) to be used for the algorithm.

[Visual Basic]
Public MustOverride Sub GenerateIV()
[C#]
public abstract void GenerateIV();
[C++]
public: virtual void GenerateIV() = 0;
[JScript]
public abstract function GenerateIV();

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SymmetricAlgorithm Class | SymmetricAlgorithm Members | System.Security.Cryptography Namespace | Cryptographic Services

Show: