UrlEncoding.Encode method (1 of 2)

Encodes a string with the default settings.

public static string? Encode(string? value)
parameter description
value The string to encode.

Return Value

The encoded string.

See Also


UrlEncoding.Encode method (2 of 2)

Encodes a string with the specified settings.

public static string? Encode(string? value, UrlEncodingSettings settings)
parameter description
value The string to encode.
settings The settings to use when encoding.

Return Value

The encoded string.

See Also