Encodes a string with the default settings.
public static string? Encode(string? value)
| parameter | description |
|---|---|
| value | The string to encode. |
The encoded string.
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. |
The encoded string.