generate random file name
Published: 25. October 2011 | Updated: 25. October 2011License: Microsoft Public License (MS-PL)
Categories: File system
Tags: C# Windows
Import namespace
using System.IO;
Code
string randomFileName = Path.GetRandomFileName(); Console.WriteLine(randomFileName);Console Output:
wpldymc5.ko1
| Send us feedback about this snippet » |





