Two ways:
You could create a GUID and ToString it, and use that as the file name.
You can call Kernel32.dll's GetTempFileName (That's what GetTempFileName
does, but it automatically uses Path.GetTempPath as the path). This'll
require P/Invoke.
-mike
MVP
"Antonio Lopez Arredondo" <ad**@someplace.com> wrote in message
news:uo**************@tk2msftngp13.phx.gbl...
hi !
system.io.path.gettempfilename() returns a unique file name in the TEMP
folder.
does anybody know how to create a unique file name in another folder ?
thanks in advance,
ant.