WebBrowser.IsOffline Property
Assembly: System.Windows.Forms (in system.windows.forms.dll)
| Exception type | Condition |
|---|---|
| This WebBrowser instance is no longer valid. |
|
| A reference to an implementation of the IWebBrowser2 could not be retrieved from the underlying ActiveX WebBrowser. |
- SecurityPermission for immediate callers to use this control. Demand value: LinkDemand; Named Permission Sets: FullTrust.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Reference
WebBrowser ClassWebBrowser Members
System.Windows.Forms Namespace
Other Resources
IWebBrowser2 InterfaceThis property is readonly in version 2.0 of the .NET framework. To force offline, you must use an ambient property. One workaround is here: https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=817004&SiteID=1. Another workaround (in Russian, I'm afraid) is here: http://iamnik.livejournal.com/16380.html
We translated this article for you. Take this (english version): http://coderlog.blogspot.com/2007/06/5512-by-microsoft.html
- 4/26/2007
- EricLaw-MSFT
- 6/14/2007
- Nikolay Voronin