WebSessionHasViews Property Awesomium.NET 1.7.6Awesomium.NET
Gets if this WebSession is currently assigned to IWebView instances.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version:

public bool HasViews { get; }

Property Value

Type: Boolean

You can access the views this session is associated with, through the Views property.
Caution note Caution
A session cannot be destroyed until all IWebView instances associated with it have been destroyed. You should always check this property before attempting to call Dispose. A session may still have associated views, even if Views returns an empty array. This is because disposed views are asynchronously destroyed.
See Also