WebControlWebSession Property Awesomium.NET 1.7.6Awesomium.NET
Gets the session associated with this IWebView instance.

Namespace: Awesomium.Windows.Controls
Assembly: Awesomium.Windows.Controls (in Awesomium.Windows.Controls.dll) Version: 1.7.6.0
Syntax

public WebSession WebSession { get; set; }

Property Value

Type: WebSession
Exceptions

ExceptionCondition
NotSupportedException You cannot change the value of this property when the underlying web-view of this control, has already been created.
Remarks

You can create a WebSession with your own preferences (see Preferences), using CreateWebSession(WebPreferences). You can then use this when you create a WebView instance, by using the CreateWebView(Int32, Int32, WebSession) function.
Note Note
This property is implemented as a read-write property on technology specific WebControls. You can use the setter to specify your WebSession, right after instantiating the WebControl or at design time. You cannot change this setting after the control has been fully loaded and its underlying web-view, has been created.
See Also

Reference