NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MyWeb.Connected

Specifies whether the application is "working online". This delegates to the WinInet InternetGetConnectedState facility which is shared with IE, Outlook, etc. It is possible to technically be online (have an active network connection) and have this property evaluate to false if the user has selected that state manually by choosing "Work Offline" from an application's menu.

[Visual Basic]
Public Shared ReadOnly Property Connected As Boolean
[C#]
public static bool Connected {get;}
[C++]
public: __property static bool get_Connected();
[JScript]
public static function get Connected() : Boolean;

Property Value

true if the application is working online, otherwise false.

See Also

MyWeb Class | MyWeb Members | System.Web Namespace