CryptographicallySecurePseudoRandomNumberGenerator.isUsingCryptographyNextGenerationApplicationProgrammingInterface

Returns boolean indicating whether this library is using the Windows Cryptography: Next Generation API to generate random bytes from the $(MONO BCryptGenRandom) API function.

More specifically, this library returns true if $(MONO Bcrypt.dll) was found, loaded, and all three requisite functions could be loaded from it, which are:

  • $(MONO BCryptOpenAlgorithmProvider)
  • $(MONO BCryptCloseAlgorithmProvider)
  • $(MONO BCryptGenRandom)
class CryptographicallySecurePseudoRandomNumberGenerator
version(Windows)@property @safe @nogc nothrow
bool
isUsingCryptographyNextGenerationApplicationProgrammingInterface
(
)

Meta