"

RandomNumberGeneratorShim.

Create<TRng>(TRng) Method

Summary

Creates a new RandomNumberGenerator wrapper over rng.

Syntax

public static RandomNumberGeneratorShim<TRng> Create<TRng>(TRng rng) 
    where TRng : notnull, ICryptoRng

Type Parameters

NameDescription
TRng

Parameters

NameTypeDescription
rngTRngA cryptographically secure RNG.

Return Value

TypeDescription
RandomNumberGeneratorShim<TRng>