RandomNumberGenerator.Create Method (String)

 

When overridden in a derived class, creates an instance of the specified implementation of a cryptographic random number generator.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public static RandomNumberGenerator Create(
	string rngName
)

Parameters

rngName
Type: System.String

The name of the random number generator implementation to use.

Return Value

Type: System.Security.Cryptography.RandomNumberGenerator

A new instance of a cryptographic random number generator.

.NET Framework
Available since 1.1
Return to top
Show: