Net
From Pointui
This is a Global object. You must not create an instance of it as one is always available for your use.
Contents |
Methods
void GetNetworks(DataTable result)
AVAILABLE SINCE: 2.0.22b Populates the result DataTable with the list of available networks.
The DataTable supports the following columns:
| columnName | Expected Data Type |
|---|---|
| Description | String |
| Type | String - the type is one of the following: "Cellular", "NIC", "Bluetooth", "Unimodem", "VPN", "Proxy", "PC", "Unknown" |
| AdapterName | String |
| SignalQuality | String |
bool GetIsConnectedToInternet()
AVAILABLE SINCE: 2.0.22b Returns true if the device currently has a connection to the Internet.
bool GetIsConnectedToLan()
AVAILABLE SINCE: 2.0.22b Returns true if the device currently is physically connected to a LAN - this will return true if an ActiveSync connection is present.
void ConnectToInternet()
AVAILABLE SINCE: 2.0.22b Connects to the Internet if possible and returns true if succeeded.
void DisconnectFromInternet()
void DisconnectFromInternet(bool allowDisconnectUSB)
AVAILABLE SINCE: 2.0.22b Disconnects from the Internet if there is a current connection.
