MediaLibraryHelper EnsureUniqueFileName Method Kentico 8.0 API Reference
Ensures unique path for the specified file. If the directory with the specified name already exist in the target location new path with the added suffix is returned. The suffix consist of '_' sign and the number.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.0.5239.26125)

Return Value

Type: OnlineString
See Also