Method GenFilePathOnDesktop
GenFilePathOnDesktop(string, bool)
Generates a file path on the desktop for the specified file name.
public static string GenFilePathOnDesktop(string fileNameWithoutPath, bool uniqueName = false)
Parameters
fileNameWithoutPath
stringThe name of the file without the path.
uniqueName
boolA boolean value indicating whether to generate a unique file name if a file with the same name already exists. Optional. Default is
false
.