Example #1
0
        public static string Generate()
        {
            string key = KeyOpertaions.ShuffleKey(KeyOpertaions.GetValidSecretKey(NetTime.GetNetworkTime()));

            return(key);
        }
Example #2
0
 public static bool IsValid(string key)
 {
     return(KeyOpertaions.DateTimeSum(NetTime.GetNetworkTime()) == KeyOpertaions.GetSumOfKey(key));
 }