ThreadSafeRandomInstance Property
Gets a
ThreadSafeRandom instance that can be used from any threads concurrently.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.1.0
public static ThreadSafeRandom Instance { get; }
Public Shared ReadOnly Property Instance As ThreadSafeRandom
Get
public:
static property ThreadSafeRandom^ Instance {
ThreadSafeRandom^ get ();
}
static member Instance : ThreadSafeRandom with get
Property Value
ThreadSafeRandom This property returns a
ThreadSafeRandom instance, which generates pseudo random numbers using
FastRandom internally.
To produce cryptographically secure random numbers use the
Create(FuncRandom) method instead, and initialize it by a delegate,
which returns
SecureRandom instances.