Click or drag to resize
ValidationHelperGetSafeFileName Method
Get safe file name in which forbidden characters are replaced with specified replacement

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public static string GetSafeFileName(
	string value,
	string replacement = null
)

Parameters

value
Type: SystemString
File name
replacement (Optional)
Type: SystemString
Replacement string

Return Value

Type: String
See Also