FileHelperGetUniqueFileName Method |
Returns filePath based on the given filePath which is unique within the folder.
If the path is relative, relative path is returned, if the input path was absolute, absolute path is returned.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntaxpublic static string GetUniqueFileName(
string filePath
)
Parameters
- filePath
- Type: SystemString
File path (relative with ~/ or absolute)
Return Value
Type:
String
See Also