Do not reinvent function for generating unique name for temporary files. Use one of the existing methods:
- System.IO.Path.GetTempFileName() - use this method if you want to create temporary file in user's temp folder.
- System.IO.Path.GetRandomFileName() - use this method if you just want to generate unique file name.
No comments:
Post a Comment