Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
singlewind opened this issue Aug 19, 2015 · 1 comment
Milestone

Comments

@singlewind
Copy link

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.

@singlewind
Copy link
Author

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

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 1.0.0-rtm milestone Jan 31, 2020
@dotnet dotnet locked as resolved and limited conversation to collaborators Jan 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants