Exemplo n.º 1
0
        public static string Random(this DateTime time, int length = -1, string pre = "R")
        {
            var dest = DateTime.Now.FormatTime(false) + UUID.NewUUID();

            return((pre + (length == -1? dest: dest.Substring(0, length))).ToLower());
        }
Exemplo n.º 2
0
        public static string Random(this DateTime time, int length = -1, string pre = "R")
        {
            var dest = UUID.NewUUID();

            return(pre + (length == -1? dest: dest.Substring(0, length)));
        }