<PackageReference Include="NETStandard.Library" Version="2.0.0-preview2-25401-01" />

System.Net.WebUtility

public static class WebUtility
namespace System.Net { public static class WebUtility { public static string HtmlDecode(string value); public static void HtmlDecode(string value, TextWriter output); public static string HtmlEncode(string value); public static void HtmlEncode(string value, TextWriter output); public static string UrlDecode(string encodedValue); public static byte[] UrlDecodeToBytes(byte[] encodedValue, int offset, int count); public static string UrlEncode(string value); public static byte[] UrlEncodeToBytes(byte[] value, int offset, int count); } }