# System.Web.HttpUtility

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="System_Web_HttpUtility" data-uid="System.Web.HttpUtility" class="text-break">HttpUtility Class
</h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">HttpUtility</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="System.Web.html">System.Web</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.4.6.2.dll</h6>
  <h5 id="System_Web_HttpUtility_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class HttpUtility</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class HttpUtility</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="System_Web_HttpUtility__ctor" data-uid="System.Web.HttpUtility.#ctor">
          <a class="xref" href="System.Web.HttpUtility.-ctor.html#System_Web_HttpUtility__ctor">HttpUtility()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="System_Web_HttpUtility_HtmlAttributeEncode_System_String_" data-uid="System.Web.HttpUtility.HtmlAttributeEncode(System.String)">
          <a class="xref" href="System.Web.HttpUtility.HtmlAttributeEncode.html#System_Web_HttpUtility_HtmlAttributeEncode_System_String_">HtmlAttributeEncode(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_HtmlAttributeEncode_System_String_System_IO_TextWriter_" data-uid="System.Web.HttpUtility.HtmlAttributeEncode(System.String,System.IO.TextWriter)">
          <a class="xref" href="System.Web.HttpUtility.HtmlAttributeEncode.html#System_Web_HttpUtility_HtmlAttributeEncode_System_String_System_IO_TextWriter_">HtmlAttributeEncode(string, TextWriter)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_HtmlDecode_System_String_" data-uid="System.Web.HttpUtility.HtmlDecode(System.String)">
          <a class="xref" href="System.Web.HttpUtility.HtmlDecode.html#System_Web_HttpUtility_HtmlDecode_System_String_">HtmlDecode(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Decodes an HTML-encoded string and returns the decoded string.</p>
</td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_HtmlDecode_System_String_System_IO_TextWriter_" data-uid="System.Web.HttpUtility.HtmlDecode(System.String,System.IO.TextWriter)">
          <a class="xref" href="System.Web.HttpUtility.HtmlDecode.html#System_Web_HttpUtility_HtmlDecode_System_String_System_IO_TextWriter_">HtmlDecode(string, TextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.</p>
</td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_HtmlEncode_System_String_" data-uid="System.Web.HttpUtility.HtmlEncode(System.String)">
          <a class="xref" href="System.Web.HttpUtility.HtmlEncode.html#System_Web_HttpUtility_HtmlEncode_System_String_">HtmlEncode(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_HtmlEncode_System_String_System_IO_TextWriter_" data-uid="System.Web.HttpUtility.HtmlEncode(System.String,System.IO.TextWriter)">
          <a class="xref" href="System.Web.HttpUtility.HtmlEncode.html#System_Web_HttpUtility_HtmlEncode_System_String_System_IO_TextWriter_">HtmlEncode(string, TextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>HTML-encodes a string and sends the resulting output to a TextWriter output stream.</p>
</td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_ParseQueryString_System_String_" data-uid="System.Web.HttpUtility.ParseQueryString(System.String)">
          <a class="xref" href="System.Web.HttpUtility.ParseQueryString.html#System_Web_HttpUtility_ParseQueryString_System_String_">ParseQueryString(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_ParseQueryString_System_String_System_Text_Encoding_" data-uid="System.Web.HttpUtility.ParseQueryString(System.String,System.Text.Encoding)">
          <a class="xref" href="System.Web.HttpUtility.ParseQueryString.html#System_Web_HttpUtility_ParseQueryString_System_String_System_Text_Encoding_">ParseQueryString(string, Encoding)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlDecode_System_Byte___System_Int32_System_Int32_System_Text_Encoding_" data-uid="System.Web.HttpUtility.UrlDecode(System.Byte[],System.Int32,System.Int32,System.Text.Encoding)">
          <a class="xref" href="System.Web.HttpUtility.UrlDecode.html#System_Web_HttpUtility_UrlDecode_System_Byte___System_Int32_System_Int32_System_Text_Encoding_">UrlDecode(byte[], int, int, Encoding)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlDecode_System_Byte___System_Text_Encoding_" data-uid="System.Web.HttpUtility.UrlDecode(System.Byte[],System.Text.Encoding)">
          <a class="xref" href="System.Web.HttpUtility.UrlDecode.html#System_Web_HttpUtility_UrlDecode_System_Byte___System_Text_Encoding_">UrlDecode(byte[], Encoding)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlDecode_System_String_" data-uid="System.Web.HttpUtility.UrlDecode(System.String)">
          <a class="xref" href="System.Web.HttpUtility.UrlDecode.html#System_Web_HttpUtility_UrlDecode_System_String_">UrlDecode(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlDecode_System_String_System_Text_Encoding_" data-uid="System.Web.HttpUtility.UrlDecode(System.String,System.Text.Encoding)">
          <a class="xref" href="System.Web.HttpUtility.UrlDecode.html#System_Web_HttpUtility_UrlDecode_System_String_System_Text_Encoding_">UrlDecode(string, Encoding)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlDecodeToBytes_System_Byte___" data-uid="System.Web.HttpUtility.UrlDecodeToBytes(System.Byte[])">
          <a class="xref" href="System.Web.HttpUtility.UrlDecodeToBytes.html#System_Web_HttpUtility_UrlDecodeToBytes_System_Byte___">UrlDecodeToBytes(byte[])</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlDecodeToBytes_System_Byte___System_Int32_System_Int32_" data-uid="System.Web.HttpUtility.UrlDecodeToBytes(System.Byte[],System.Int32,System.Int32)">
          <a class="xref" href="System.Web.HttpUtility.UrlDecodeToBytes.html#System_Web_HttpUtility_UrlDecodeToBytes_System_Byte___System_Int32_System_Int32_">UrlDecodeToBytes(byte[], int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlDecodeToBytes_System_String_" data-uid="System.Web.HttpUtility.UrlDecodeToBytes(System.String)">
          <a class="xref" href="System.Web.HttpUtility.UrlDecodeToBytes.html#System_Web_HttpUtility_UrlDecodeToBytes_System_String_">UrlDecodeToBytes(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlDecodeToBytes_System_String_System_Text_Encoding_" data-uid="System.Web.HttpUtility.UrlDecodeToBytes(System.String,System.Text.Encoding)">
          <a class="xref" href="System.Web.HttpUtility.UrlDecodeToBytes.html#System_Web_HttpUtility_UrlDecodeToBytes_System_String_System_Text_Encoding_">UrlDecodeToBytes(string, Encoding)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlEncode_System_Byte___" data-uid="System.Web.HttpUtility.UrlEncode(System.Byte[])">
          <a class="xref" href="System.Web.HttpUtility.UrlEncode.html#System_Web_HttpUtility_UrlEncode_System_Byte___">UrlEncode(byte[])</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlEncode_System_Byte___System_Int32_System_Int32_" data-uid="System.Web.HttpUtility.UrlEncode(System.Byte[],System.Int32,System.Int32)">
          <a class="xref" href="System.Web.HttpUtility.UrlEncode.html#System_Web_HttpUtility_UrlEncode_System_Byte___System_Int32_System_Int32_">UrlEncode(byte[], int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlEncode_System_String_" data-uid="System.Web.HttpUtility.UrlEncode(System.String)">
          <a class="xref" href="System.Web.HttpUtility.UrlEncode.html#System_Web_HttpUtility_UrlEncode_System_String_">UrlEncode(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlEncode_System_String_System_Text_Encoding_" data-uid="System.Web.HttpUtility.UrlEncode(System.String,System.Text.Encoding)">
          <a class="xref" href="System.Web.HttpUtility.UrlEncode.html#System_Web_HttpUtility_UrlEncode_System_String_System_Text_Encoding_">UrlEncode(string, Encoding)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlEncodeToBytes_System_Byte___" data-uid="System.Web.HttpUtility.UrlEncodeToBytes(System.Byte[])">
          <a class="xref" href="System.Web.HttpUtility.UrlEncodeToBytes.html#System_Web_HttpUtility_UrlEncodeToBytes_System_Byte___">UrlEncodeToBytes(byte[])</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlEncodeToBytes_System_Byte___System_Int32_System_Int32_" data-uid="System.Web.HttpUtility.UrlEncodeToBytes(System.Byte[],System.Int32,System.Int32)">
          <a class="xref" href="System.Web.HttpUtility.UrlEncodeToBytes.html#System_Web_HttpUtility_UrlEncodeToBytes_System_Byte___System_Int32_System_Int32_">UrlEncodeToBytes(byte[], int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlEncodeToBytes_System_String_" data-uid="System.Web.HttpUtility.UrlEncodeToBytes(System.String)">
          <a class="xref" href="System.Web.HttpUtility.UrlEncodeToBytes.html#System_Web_HttpUtility_UrlEncodeToBytes_System_String_">UrlEncodeToBytes(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlEncodeToBytes_System_String_System_Text_Encoding_" data-uid="System.Web.HttpUtility.UrlEncodeToBytes(System.String,System.Text.Encoding)">
          <a class="xref" href="System.Web.HttpUtility.UrlEncodeToBytes.html#System_Web_HttpUtility_UrlEncodeToBytes_System_String_System_Text_Encoding_">UrlEncodeToBytes(string, Encoding)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlEncodeUnicode_System_String_" data-uid="System.Web.HttpUtility.UrlEncodeUnicode(System.String)">
          <a class="xref" href="System.Web.HttpUtility.UrlEncodeUnicode.html#System_Web_HttpUtility_UrlEncodeUnicode_System_String_">UrlEncodeUnicode(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlEncodeUnicodeToBytes_System_String_" data-uid="System.Web.HttpUtility.UrlEncodeUnicodeToBytes(System.String)">
          <a class="xref" href="System.Web.HttpUtility.UrlEncodeUnicodeToBytes.html#System_Web_HttpUtility_UrlEncodeUnicodeToBytes_System_String_">UrlEncodeUnicodeToBytes(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="System_Web_HttpUtility_UrlPathEncode_System_String_" data-uid="System.Web.HttpUtility.UrlPathEncode(System.String)">
          <a class="xref" href="System.Web.HttpUtility.UrlPathEncode.html#System_Web_HttpUtility_UrlPathEncode_System_String_">UrlPathEncode(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
