This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class WebPage
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class WebPage

The type exposes the following properties.

Public Properties

  Name Description
Public property BinaryBody
Gets or sets the binary body.
Public property CharacterSet
Gets or sets the Character set, which will be used when calling the ToString()()()() method.
The CharacterSet property, at least for an external request, will match the response's CharacterSet property and will be set automatically after executing the request.
Public property Context
Gets the context.
Public property Cookies
Gets or sets a collection of cookies that will be passed to the embedded page.
Public property CustomPostData
Gets or sets custom data to be posted. Setting this property implies UsePostData == true.
Public property CustomRequestBody
Gets or sets the custom request body.
Public property CustomRequestContentType
Gets or sets the content type of the request when CustomRequestBody is set.
Public property Data
Gets the page data.
Public property Expires
Gets the expire date.
Public property FollowRedirect
Set to true to follow redirect instructions from the embedded page.
Public property HeaderMode
Gets or sets the handling mode for http headers.
Public property LastModified
Gets the last modified date.
Public property MetaData
Gets the meta data collection that will be passed to the internal request.
Public property MimeType
Gets the HTTP MIME type of the page.
Public property Mode
Gets the request mode.
Public property Password
Gets or sets the password for the request. Use together with UserName property.
Public property ProcessHttpErrors
Set to true to receive a response even when an Http error has occurred. Set to false to throw the Http error as an exception.
Public property RequestHeaders
Gets or sets a collection of request headers that will be passed to the embedded page.
Public property ResponseEncoding
Public property ResponseHeaders
Gets a collection of response headers as they were set by the embedded page.
Public property ResponseTime
Gets the page response time in milliseconds.
Public property Status
Returns the http status code.
Public property Timeout
Gets or sets the timeout in seconds.
Public property Url
Gets the URL.
Public property UsePostData
Gets or sets a value indicating whether to use post data in the current request context.
Public property UserName
Gets or sets the name of the user for the request. Use together with Password property.

See Also

Advanced