Method not found: RandomNumberGenerator.GetBytes(Byte[], Int32, Int32)

hit this error on windows 7 pc.


according to msdn,


this api was introduced in .NET Framework Available since 4.6

Im currently using .NET Framework 4.5.


fix is to upgrade .NET Framework.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.