StringHelper.SanitizeFilename method
namespace: Serenity assembly: Serenity.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
- class StringHelper