UrlEncodingSettings class

Stores settings used for encoding and decoding URL-style strings.

public sealed class UrlEncodingSettings

Public Members

name description
UrlEncodingSettings() Initializes a new instance of the UrlEncodingSettings class.
static HttpUtilitySettings { get; } Returns a UrlEncodingSettings object that matches the behavior of HttpUtility.UrlEncode(string) in .NET 4.
EncodedBytePrefixChar { get; set; } Gets or sets the character used as the prefix for each encoded byte.
EncodedSpaceChar { get; set; } Gets or sets the character used when encoding a space.
PreventDoubleEncoding { get; set; } True if the encoder should prevent double-encoding.
ShouldEncodeChar { get; set; } Gets or sets the delegate used to determine whether a character should be encoded or not.
TextEncoding { get; set; } Gets or sets the text encoding used when encoding or decoding bytes.
UppercaseHexDigits { get; set; } Gets or sets a value indicating whether hex digits are encoded in uppercase.
Clone() Clones this instance.

See Also