AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.1" />

 FormDataSet

sealed class FormDataSet : IEnumerable<string>, IEnumerable
Bundles information stored in HTML forms.
public string Boundary { get; }

Gets the chosen boundary.

public FormDataSet()

public void Append(string name, string value, string type)

public void Append(string name, FileEntry value, string type)

public Stream AsMultipart(Encoding encoding = null)

Applies the multipart/form-data algorithm. http://www.w3.org/html/wg/drafts/html/master/forms.html#multipart/form-data-encoding-algorithm

public Stream AsPlaintext(Encoding encoding = null)

Applies the plain encoding algorithm. http://www.w3.org/html/wg/drafts/html/master/forms.html#text/plain-encoding-algorithm

public Stream AsUrlEncoded(Encoding encoding = null)

Applies the urlencoded algorithm. http://www.w3.org/html/wg/drafts/html/master/forms.html#application/x-www-form-urlencoded-encoding-algorithm

public IEnumerator<string> GetEnumerator()

Gets an enumerator over all entry names.