public static string GetRandomKey() { var random = new Random(); var randomSeed = random.Next(0, int.MaxValue); var rk = HashTools.Md5Base64(randomSeed.ToString()); return(rk); }