Mentalis.org Security Library documentation

RC4CryptoServiceProvider.GenerateKey Method 

Generates a random Key to be used for the algorithm.

[Visual Basic]
Overrides Public Sub GenerateKey()
[C#]
public override void GenerateKey();

Remarks

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

See Also

RC4CryptoServiceProvider Class | RC4CryptoServiceProvider Members | Org.Mentalis.Security.Cryptography Namespace