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

Related issues

chunseoklee picture chunseoklee  路  3Comments

GitAntoinee picture GitAntoinee  路  3Comments

yahorsi picture yahorsi  路  3Comments

bencz picture bencz  路  3Comments

jkotas picture jkotas  路  3Comments