Runtime: "RNGCryptoServiceProvider" is now an internal class instead of public, what is the alternative class we should use?

Created on 19 Aug 2015  ·  1Comment  ·  Source: dotnet/runtime

Previously, this class is public. We can use this to generate random number. Now it looks like has been changed to internally use. There is must some wrap can be used.

Most helpful comment

Sorry to bother you guys. I think I found the answer.
use RandomNumberGenerator.Create() instead. If I am wrong, please correct me.

>All comments

Sorry to bother you guys. I think I found the answer.
use RandomNumberGenerator.Create() instead. If I am wrong, please correct me.

Was this page helpful?
0 / 5 - 0 ratings