That's a fortuna PRNG implementation with C# .NET. Generating cryptographically secure random number has never been easier,you can just do
var provider = new Provider();
var num=provider.GetRandomInt();
to generate your cryptographically secure number.