WebDAVHelperGetSafeFileName Method |
Returns the safe equivalent to the given file name.
Namespace: CMS.WebDAVAssembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 12.0.0
Syntax public static string GetSafeFileName(
string fileName,
string siteName,
int maxLength
)
Parameters
- fileName
- Type: SystemString
Original file name with extension - siteName
- Type: SystemString
Site name - maxLength
- Type: SystemInt32
Maximum length of file name
Return Value
Type:
StringSee Also