public static GetNewFileName ( string directory, string baseFileName, string extension ) : string | ||
directory | string | Directory that the file should live in. |
baseFileName | string | |
extension | string | may be null, in which case the .[extension] part /// is not added. |
return | string |