Is RNGCryptoServiceProvider.GetBytes thread safe? I can't seem to find any notes on it in the documentation.
Yes. It's in the "remarks" section:
The length of the byte array determines how many cryptographically strong random bytes are produced. This method is thread safe.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With