UrlEncodingSettings.ShouldEncodeChar property

Gets or sets the delegate used to determine whether a character should be encoded or not.

public Predicate<char> ShouldEncodeChar { get; set; }

Property Value

The delegate used to determine whether a character should be encoded or not.

Remarks

By default, only ASCII alphanumerics are not encoded.

See Also