FileHelper GetUniqueFileName Method Kentico 8.1 API Reference
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: 8.0.0.0 (8.1.5347.20411)

Parameters

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

Return Value

Type: OnlineString
See Also