次の方法で共有


Utilities.GenerateRandomKey(Int32) Method

Definition

Generate cryptographically random key of given bit size.

public static string GenerateRandomKey (int size);
static member GenerateRandomKey : int -> string
Public Shared Function GenerateRandomKey (size As Integer) As String

Parameters

size
Int32

size of the key to be generated

Returns

the key

Applies to