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: 8.2.23
Syntax public static string GetUniqueFileName(
string filePath
)
Parameters
- filePath
- Type: SystemString
File path (relative with ~/ or absolute)
Return Value
Type:
StringSee Also