I need to generate a random number in a byte array, and I would like to use the RNGCryptoServiceProvider.GetBytes method.
According to the Microsoft library documentation, this class is supposed to be here:
[quote]Namespace: System.Security.Cryptography
Assembly: Microsoft.SPOT.Security.PKCS11 (in microsoft.spot.security.pkcs11.dll)[/quote]
But when I add this reference and using statement, it is not there.
What am I doing wrong?