Click or drag to resize
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.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public static string GetUniqueFileName(
	string filePath
)

Parameters

filePath
Type: SystemString
File path (relative with ~/ or absolute)

Return Value

Type: String
See Also