AngleSharp by Florian Rappl

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

.NET API 393,728 bytes

 HTMLFormElement

public sealed class HTMLFormElement : HTMLElement
Represents the form element.
public string AcceptCharset { get; set; }

Gets or sets the character encodings that are to be used for the submission.

public string Action { get; set; }

Gets or sets the form's name within the forms collection.

public PowerState Autocomplete { get; set; }

Gets or sets if autocomplete is turned on or off.

Gets all the form controls belonging to this form element.

public string Encoding { get; set; }

Gets or sets the encoding to use for sending the form.

public string Enctype { get; set; }

Gets or sets the encoding to use for sending the form.

public bool IsValid { get; }

Gets if the form is actually valid.

public Element this[int index] { get; }

Gets the form element at the specified index.

public object this[string name] { get; }

Gets the form element(s) with the specified name.

public int Length { get; }

Gets the number of elements in the Elements collection.

public HttpMethod Method { get; set; }

Gets or sets the method to use for transmitting the form.

public string Name { get; set; }

Gets or sets the value of the name attribute.

public bool NoValidate { get; set; }

Gets or sets the indicator that the form is not to be validated during submission.

public string Target { get; set; }

Gets or sets the target name of the response to the request.

public bool CheckValidity()

Checks if the form is valid, i.e. if all fields fulfill their requirements.

Resets the form to the previous (default) state.

Submits the form element from the form element itself.