WebBrowser::IsOffline Property
.NET Framework (current version)
Gets a value indicating whether the WebBrowser control is in offline mode.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::Booleantrue if the WebBrowser control is in offline mode; otherwise, false.
| Exception | Condition |
|---|---|
| ObjectDisposedException | This WebBrowser instance is no longer valid. |
| InvalidOperationException | A reference to an implementation of the IWebBrowser2 interface could not be retrieved from the underlying ActiveX WebBrowser control. |
In offline mode, the WebBrowser control is forced to load Web pages from the local cache rather than downloading them.
SecurityPermission
for immediate callers to use this control. Demand value: LinkDemand; NIB: Named Permission Sets: FullTrust.
.NET Framework
Available since 2.0
Available since 2.0
Show: