Home
C# Simple Random Alphanumeric
I would suspect this would not suffice if your system requires properly tight security. It'll do for my simple needs though.
using System.IO;
string MyString = Path.GetRandomFileName();
This creates a random file with a random 3 character ending after a full stop. Just use replace to remove the full stop
MyString = MyString.Replace(".", "");
Reader's Comments
Name
Comment
Add a RELEVANT link (not required)
Upload an image (not required)
Uploading...
Home