RandomNumberGenerator.Create RandomNumberGenerator.Create RandomNumberGenerator.Create RandomNumberGenerator.Create Method

Definition

Creates an instance of an implementation of a cryptographic random number generator.

Overloads

Create() Create() Create() Create()

Creates an instance of the default implementation of a cryptographic random number generator that can be used to generate random data.

Create(String) Create(String) Create(String) Create(String)

Creates an instance of the specified implementation of a cryptographic random number generator.

Create() Create() Create() Create()

Creates an instance of the default implementation of a cryptographic random number generator that can be used to generate random data.

public:
 static System::Security::Cryptography::RandomNumberGenerator ^ Create();
public static System.Security.Cryptography.RandomNumberGenerator Create ();
static member Create : unit -> System.Security.Cryptography.RandomNumberGenerator
Public Shared Function Create () As RandomNumberGenerator

Returns

A new instance of a cryptographic random number generator.

See also

Create(String) Create(String) Create(String) Create(String)

Creates an instance of the specified implementation of a cryptographic random number generator.

public:
 static System::Security::Cryptography::RandomNumberGenerator ^ Create(System::String ^ rngName);
public static System.Security.Cryptography.RandomNumberGenerator Create (string rngName);
static member Create : string -> System.Security.Cryptography.RandomNumberGenerator
Public Shared Function Create (rngName As String) As RandomNumberGenerator

Parameters

rngName
String String String String

The name of the random number generator implementation to use.

Returns

A new instance of a cryptographic random number generator.

See also

Applies to