Mario,
You would use the method Path.GetTempFileName. There is a sample about how to use it in the on-line help. Just lookup "GetTempFileName" in the index.
>I need use this fuction to support a legacy aplication with two end-users GUI: A Fox EXE and a ASP.NET Site, so i need share a lot of things. Of couse, i use the VFP.NET function package, and this help a lot, but i need use this function or some semi-equal replacement.
>
>If you are not a VFP dev, look for SYS(2015) in MSDN Help. This function return a unique string like _0IR0O0IU9 always 10 char fixed, start always with '_' and the rest don't know how...
>
>Thanks
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi