using System;
namespace HoverTree.HoverTreeFrame
{
public class HoverString
{
/// <summary>
/// 生成16位唯一字符串
/// </summary>
/// <returns></returns>
public static string GenUniqueString ()
{
long i = 1;
foreach (byte b in Guid.NewGuid().ToByteArray())
{
i *= ((int)b + 1);
}
return string.Format("{0:x}", i - DateTime.Now.Ticks);
}
}
}