예제 #1
0
 internal static string Create(ref RandomNumberGenerator randgen)
 {
     if (randgen == null)
     {
         randgen = new RNGCryptoServiceProvider();
     }
     byte[] array = new byte[15];
     randgen.GetBytes(array);
     return(SessionId.Encode(array));
 }