FileHelperGetUniqueFileName(String, String, Boolean) Method |
Returns a unique file name in the directory of the given path, appending a number if the file exists. If lockFile is true, an empty file is created.
Namespace: Seal.HelpersAssembly: SealLibrary (in SealLibrary.dll) Version: 10.2.0.0+da7797057e6d5ef3b02633ee3e36991921c726cb
Syntaxpublic static string GetUniqueFileName(
string filePath,
string newExtension = "",
bool lockFile = false
)
Parameters
- filePath String
-
- newExtension String (Optional)
-
- lockFile Boolean (Optional)
-
Return Value
String
See Also