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 Code |
---|---|
public class WebPage |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class WebPage |
The type exposes the following properties.
Public Properties
Name | Description | |
---|---|---|
BinaryBody |
Gets or sets the binary body.
|
|
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. |
|
Context |
Gets the context.
|
|
Cookies |
Gets or sets a collection of cookies that will be passed to the embedded page.
|
|
CustomPostData |
Gets or sets custom data to be posted. Setting this property implies UsePostData == true.
|
|
CustomRequestBody |
Gets or sets the custom request body.
|
|
CustomRequestContentType |
Gets or sets the content type of the request when CustomRequestBody is set.
|
|
Data |
Gets the page data.
|
|
Expires |
Gets the expire date.
|
|
FollowRedirect |
Set to true to follow redirect instructions from the embedded page.
|
|
HeaderMode |
Gets or sets the handling mode for http headers.
|
|
LastModified |
Gets the last modified date.
|
|
MetaData |
Gets the meta data collection that will be passed to the internal request.
|
|
MimeType |
Gets the HTTP MIME type of the page.
|
|
Mode |
Gets the request mode.
|
|
Password |
Gets or sets the password for the request. Use together with UserName 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.
|
|
RequestHeaders |
Gets or sets a collection of request headers that will be passed to the embedded page.
|
|
ResponseEncoding | ||
ResponseHeaders |
Gets a collection of response headers as they were set by the embedded page.
|
|
ResponseTime |
Gets the page response time in milliseconds.
|
|
Status |
Returns the http status code.
|
|
Timeout |
Gets or sets the timeout in seconds.
|
|
Url |
Gets the URL.
|
|
UsePostData |
Gets or sets a value indicating whether to use post data in the current request context.
|
|
UserName |
Gets or sets the name of the user for the request. Use together with Password property.
|
See Also
Smartsite.Web Namespace