It was my mistake to assume that you were talking about temp files. If you
really want an unique filename and you don't care about the size or
structure you can use the static method Guid.NewGuid() this will return you
a new instance of the Guid class use the ToString() method of this class and
use the yielded value as an unique file name.
Gabriel Lozano-Morán
"Jason Clark" <jj*********@gmail.com> wrote in message
news:11*********************@l41g2000cwc.googlegro ups.com...
I don't know what you are using the file for but I'm going to assume
you are using it as a temp file. If this is correct then you can use
Path.GetTempFileName().
Check out the documentation at
http://msdn.microsoft.com/library/de...enametopic.asp
Jason