Caution
Starting with .NET 6.0 the base Random class has a Shared property, which is accessible
also from the SecureRandom class, though it returns a Random instance, which is not cryptographically secure.
public static SecureRandom Instance { get; }Public Shared ReadOnly Property Instance As SecureRandom
Getpublic:
static property SecureRandom^ Instance {
SecureRandom^ get ();
}static member Instance : SecureRandom with get