c# - Should I Use Path.GetRandomFileName or use a Guid? -


i need generate unique folder names, should use path.getrandomfilename or use guid.newguid?

guids globally unique, getrandomfilename not make such claim.

i think both equally random, difference being path.getrandomfilename produce 8.3 filename (total of 11 characters) going have smaller set of unique names generated guid.newguid.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -