Close
dtSearch Engine API for .NET Framework 2.x-4.x 2023.02
dtSearch::Spider::FormAuthenticationInfo Structure

Form authentication settings to use to connect to a web site.

public struct FormAuthenticationInfo { public String FormAuthenticationUrl; public String FormAuthenticationData; public bool AuthenticateViaPost; public bool HaveData; }
Members
Description
FormAuthenticationUrl
URL to send the authentication data to
FormAuthenticationData
Authentication data to send to the server
AuthenticateViaPost
If true, authentication data will be sent using an HTTP POST request instead of a GET request
HaveData
If HaveData is not true, all values in FormAuthenticationInfo will be ignored when connecting to the web site

Form authentication is done using a POST or GET HTTP request, consisting of one or more names values in FormAuthenticationData, which must be formatted as a valid POST or GET request, like this: field=value&field2=value2