WebBrowser.IsOffline WebBrowser.IsOffline WebBrowser.IsOffline WebBrowser.IsOffline Property

Definition

Gets a value indicating whether the WebBrowser control is in offline mode.

public:
 property bool IsOffline { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsOffline { get; }
member this.IsOffline : bool
Public ReadOnly Property IsOffline As Boolean

Property Value

true if the WebBrowser control is in offline mode; otherwise, false.

Exceptions

A reference to an implementation of the IWebBrowser2 interface could not be retrieved from the underlying ActiveX WebBrowser control.

Remarks

In offline mode, the WebBrowser control is forced to load Web pages from the local cache rather than downloading them.

Security

SecurityPermission
for immediate callers to use this control. Demand value: LinkDemand; Named Permission Sets: FullTrust.

Applies to

See also