FormSubmitter Class
This class allows to prepare specified HTMLFormElement, collects values from the form element, submit them to the remote server and receives a response.
public class FormSubmitter : IDisposable
Constructors
Properties
| Name | Description |
|---|
| [getAction] | |
| [setAction] Server-side form handler. See the action attribute definition in HTML 4.01. | |
| [getMethod] | |
| [setMethod] HTTP method [IETF RFC 2616] used to submit form. See the method attribute definition in HTML 4.01. | |
Methods
| Name | Description |
|---|
| dispose() | Releases unmanaged and - optionally - managed resources. |
| submit() | Submits the form data to the server. |
| submit(CookieContainer) | Submits the form data to the server with specified cookies. |
| submit(ICredentials) | Submits the form data to the server with specified user credentials. |
| submit(TimeSpan) | Submits the form data to the server with specified timeout. |
| submit(ICredentials, CookieContainer) | Submits the form data to the server with specified user credentials and cookies. |
| submit(ICredentials, TimeSpan) | Submits the form data to the server with specified user credentials and timeout. |
| submit(TimeSpan, CookieContainer) | Submits the form data to the server with specified timeout and cookies. |
| submit(ICredentials, TimeSpan, bool) | Submits the form data to the server with specified user credentials. |
| submit(ICredentials, TimeSpan, CookieContainer) | Submits the form data to the server with specified user credentials, timeout and cookies. |
| submit(ICredentials, TimeSpan, bool, CookieContainer) | Submits the form data to the server with specified user credentials and cookies. |
See Also