FormSubmitter
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 |
Action { get; set; } |
Server-side form handler. See the action attribute definition in HTML 4.01. |
Method { get; set; } |
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