生成秘钥方式之一

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;
}

猜你喜欢

转载自www.cnblogs.com/guzhengtao/p/20180706_1532.html
今日推荐