Skip to content

StringHelper.SanitizeFilename method

namespace: Serenity   assemblySerenity.Net.Core

Sanitizes the filename by replacing /, :, &, ı characters.

public static string SanitizeFilename(string s)
parameter description
s The string.

Exceptions

exception condition
ArgumentNullException s is null

See Also