【C#】C# GUID

 class GUID
    {
        public static string getGUID(string type)
        {
            return type + RadomNamed.GuidTo16String().ToString().ToUpper() + System.Text.RegularExpressions.Regex.Replace(DateTime.Now.ToString(), @"[^0-9]+", "");
        }    
    }

猜你喜欢

转载自www.cnblogs.com/haizhibin1989/p/10061523.html