URLHelperGetSafeFileName Method (String, String) |
Returns the safe equivalent to the given file name (with extension).
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static string GetSafeFileName(
string fileName,
string siteName
)
Parameters
- fileName
- Type: SystemString
Original file name - siteName
- Type: SystemString
Site name
Return Value
Type:
StringSee Also