Content Studio Web Content Management System
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Returns a WebResponse containing the response to the request to a Uniform Resource Identifier (URI). All cookies and credentials are stored in session variables.
[This is preliminary documentation and is subject to change.]
Returns a WebResponse containing the response to the request to
a Uniform Resource Identifier (URI).
Namespace: ContentStudio.Site
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public WebResponse GetWebResponse( string method, string url, string userName, string password, bool delegateCookies, string userAgent )
Parameters
- method
- Type: SystemString
Sets the method for the request. - url
- Type: SystemString
URL to surf to. - userName
- Type: SystemString
The user name associated with the credentials. - password
- Type: SystemString
The password for the user name associated with the credentials. - delegateCookies
- Type: SystemBoolean
Specifies if the cookies from the browser should be sent along with the request. Currently this parameter is not in use. - userAgent
- Type: SystemString
Specifies the User Agent to use.
Return Value
Type: WebResponseReturns a WebResponse containing the response to the request to a Uniform Resource Identifier (URI). All cookies and credentials are stored in session variables.
See Also