C# Class Granados.RngManager

Random number generation utility
ファイルを表示 Open project: poderosaproject/poderosa

Public Methods

Method Description
GetSecureRng ( ) : Rng

Get a new instance which implements Rng using System.Random

An instance returned should be used in the same thread.

GetSystemRandomRng ( ) : Rng

Get a new instance which implements Rng using System.Random

An instance returned should be used in the same thread.

Method Details

GetSecureRng() public static method

Get a new instance which implements Rng using System.Random
An instance returned should be used in the same thread.
public static GetSecureRng ( ) : Rng
return Rng

GetSystemRandomRng() public static method

Get a new instance which implements Rng using System.Random
An instance returned should be used in the same thread.
public static GetSystemRandomRng ( ) : Rng
return Rng