URLHelperGetSafeFileName Method (String, String, Boolean) |
Returns the safe equivalent to the given file name.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntaxpublic static string GetSafeFileName(
string fileName,
string siteName,
bool extensionIncluded
)
Parameters
- fileName
- Type: SystemString
Original file name - siteName
- Type: SystemString
Site name - extensionIncluded
- Type: SystemBoolean
Indicates if given fileName contains extension
Return Value
Type:
String
See Also