生成秘钥方式之一
程序员文章站
2022-04-20 23:09:37
public static string Secretkey() { var Secretkey = Guid.NewGuid().ToString("N") .Remove(25, 1) .Remove(23, 1) .Remove(20, 1) .Remove(18, 1) .Remove(15 ......
public static string Secretkey()
{
var Secretkey = Guid.NewGuid().ToString("N")
.Remove(25, 1)
.Remove(23, 1)
.Remove(20, 1)
.Remove(18, 1)
.Remove(15, 1)
.Remove(13, 1)
.Remove(3, 1)
.Remove(1, 1);
return Secretkey;
}