How to generate a Random number using RNGCryptoServiceProvid
using System.Security.Cryptography;
write a simple function "GetUniqueKey"
private string GetUniqueKey()
{
int maxSize = 8;
int minSize = 5;
char[] chars = new char[62];
string a;
- Read more about How to generate a Random number using RNGCryptoServiceProvid
- 1 comment
- Log in or register to post comments
- 133 views