RNGCryptoServiceProvider Random Numbers

When using the Rnd Function in VB you can get the same sequence of random numbers by calling Rnd with a negative argument (Rnd(-1)), followed by Randoize with a positive numeric value (Randomize(n)) , where n is any positive number.
How can you achieve the same when using RNGCryptoServiceProvider?
Chris JoyceAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
d-glitchConnect With a Mentor Commented:
I don't think that is possible.  Unpredictablity and unrepeatabity are the essential parts of the service.
0
 
Chris JoyceAuthor Commented:
Thats a pity it was a usefull feature.
Anyway I have found a way around this restriction, so i'll mark this as accepted.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.