Click or drag to resize
WebDAVHelperGetSafeFileName Method
Returns the safe equivalent to the given file name.

Namespace: CMS.WebDAV
Assembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 11.0.0
Syntax
C#
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: String
See Also