WireLess Studio Widgets Developer's Guide
WSWDG ContentsWStFactory class reference

IsConnected

Call this method to retrieve the current status of the connection with the mobile unit.

Ole declaration

VARIANT_BOOL IsConnected(void);

Parameters
Return Value

IsConnected returns TRUE if the connection with the mobile unit is still active, FALSE otherwise.

Remarks
Example
C#
using WirelessStudioOleWidgets;
WStFactory oFactory = new WStFactory();
bool bIsConnected = oFactory.IsConnected();
Visual Basic 6 (Full Example: BasicPropertiesDemoModule.bas.txt)
Public wsFactory As New WStFactory		
...
While (bEnd = False And bResult And wsFactory.IsConnected)
...
See also

WStWiget class reference | WStForm class reference | WStFactory class reference | WStError class reference