C# Class System.Security.Cryptography.RandomNumberGenerator

Inheritance: IDisposable
ファイルを表示 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void
RandomNumberGenerator ( )

Private Methods

Method Description
VerifyGetBytes ( byte data, int offset, int count ) : void

Method Details

Create() public static method

public static Create ( ) : RandomNumberGenerator
return RandomNumberGenerator

Create() public static method

public static Create ( string rngName ) : RandomNumberGenerator
rngName string
return RandomNumberGenerator

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetBytes() public abstract method

public abstract GetBytes ( byte data ) : void
data byte
return void

GetBytes() public method

public GetBytes ( byte data, int offset, int count ) : void
data byte
offset int
count int
return void

GetNonZeroBytes() public method

public GetNonZeroBytes ( byte data ) : void
data byte
return void

RandomNumberGenerator() protected method

protected RandomNumberGenerator ( )