Generates a random key (of KeySize length).

Namespace:  Rebex.Security.Cryptography
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Sub GenerateKey
C#
public void GenerateKey()

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also