GetRandomFileName
Returns a random file or directory name.
SYNTAX |
|
RETURN | Random file or directory name |
Note the following when using the function:
- This function returns a cryptographically strong, random string that you can use as either a directory name or a file name.
- Unlike GetTempFileName, the GetRandomFileName function does not create a file.
- When the security of your file system is paramount, use this function instead of GetTempFileName.