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

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