AngleSharp by Florian Rappl

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

.NET API 393,728 bytes

 HTMLKeygenElement

public sealed class HTMLKeygenElement : HTMLElement, IValidation
Represents the keygen element.
public enum Encryption

An enumeration of possible keytype values.

public bool Autofocus { get; set; }

Gets or sets if the keygen control should have focus when the page loads.

public string Challenge { get; set; }

Gets or sets the challenge attribute.

public bool Disabled { get; set; }

Gets or sets if the element is enabled or disabled.

public HTMLFormElement Form { get; }

Gets the associated HTML form element.

public Encryption Keytype { get; set; }

Gets or sets the type of key used.

public string Name { get; set; }

Gets or sets the value of the name attribute.

public string Type { get; }

Gets the type of input control (keygen).

public string ValidationMessage { get; }

Gets the current validation message.

public ValidityState Validity { get; }

Gets the current validation state of the keygen element.

public bool WillValidate { get; }

Gets the boolean value false since keygen elements do not validate.

public bool CheckValidity()

Checks the validity. This is always true since keygen elements are not candidites for constraint validation.

public void SetCustomValidity(string error)

Sets a custom validation error. If this is not the empty string, then the element is suffering from a custom validation error.