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
Post a Comment