Tuesday, May 18, 2010

random number asp.net c#

this is true random and unique

string number = String.Format("{0:d9}", (DateTime.Now.Ticks / 10) % 1000000000);

No comments: