GetBytes()

RNGCryptoServiceProvider::GetBytes(ArrayPtr<uint8_t>) method

Fills existing array elements with random bytes.

void System::Security::Cryptography::RNGCryptoServiceProvider::GetBytes(ArrayPtr<uint8_t> bytes) override

Arguments

ParameterTypeDescription
bytesArrayPtr<uint8_t>Bytes array to fill.

RNGCryptoServiceProvider::GetBytes(System::Details::ArrayView<uint8_t>) method

Fills existing array view elements with random bytes.

void System::Security::Cryptography::RNGCryptoServiceProvider::GetBytes(System::Details::ArrayView<uint8_t> bytes) override

Arguments

ParameterTypeDescription
bytesSystem::Details::ArrayView<uint8_t>Bytes array view to fill.

See Also