Click or drag to resize

HtmlFormBuildRequest Method

Builds the request data to be used to submit an HTML form.

Namespace:  NScrape.Forms
Assembly:  NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax
protected string BuildRequest(
	string submitButtonName = null
)

Parameters

submitButtonName (Optional)
Type: SystemString
Contains the name attribute of the submit button or image.

Return Value

Type: String
The request data in application/x-www-form-urlencoded format.
Remarks
When the form has multiple submit buttons/images, specify which one should be used; otherwise, for forms with a single submit button/image, the parameter may be omitted.

The values of any disabled controls are omitted.
See Also