Created
June 9, 2016 14:20
-
-
Save costr/8afd4a3eafd64c685458a3103b04ac4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private string RandomString | |
{ | |
get | |
{ | |
var path = String.Empty; // returns random string of 11 chars | |
for (int i = 0; i < 9; i++) | |
{ | |
path += Path.GetRandomFileName(); | |
} | |
return path.Replace(".", ""); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment