C# Class System.Security.Cryptography.RandomNumberGenerator

Inheritance: IDisposable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
Create ( ) : RandomNumberGenerator
Create ( string rngName ) : RandomNumberGenerator
Dispose ( ) : void
GetBytes ( byte data ) : void
GetBytes ( byte data, int offset, int count ) : void
GetNonZeroBytes ( byte data ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
RandomNumberGenerator ( )

Private Methods

Méthode Description
VerifyGetBytes ( byte data, int offset, int count ) : void

Method Details

Create() public static méthode

public static Create ( ) : RandomNumberGenerator
Résultat RandomNumberGenerator

Create() public static méthode

public static Create ( string rngName ) : RandomNumberGenerator
rngName string
Résultat RandomNumberGenerator

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetBytes() public abstract méthode

public abstract GetBytes ( byte data ) : void
data byte
Résultat void

GetBytes() public méthode

public GetBytes ( byte data, int offset, int count ) : void
data byte
offset int
count int
Résultat void

GetNonZeroBytes() public méthode

public GetNonZeroBytes ( byte data ) : void
data byte
Résultat void

RandomNumberGenerator() protected méthode

protected RandomNumberGenerator ( )