生成秘钥方式之一

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

posted @ 2018-07-06 15:33  GU天乐乐乐!  阅读(272)  评论(5编辑  收藏  举报