Class NetworkStatus
A Network status system to pair with the OnlineClient.
- Inheritance
-
Network
Status
- Inherited Members
- Extension Methods
Fields
Ready
True if the network has been checked.
Field Value
Properties
Client
The Client that this network status system is attached to.
Property Value
Methods
AddListener(NetworkListener)
Adds a listener to the network status system.
Parameters
listener
NetworkStatus .NetworkListener
~NetworkStatus()
Removes the network status system checker from the OS.
PingCheck(string)
Pings the URL in the Options to check if the network is online.
Parameters
url
string
Returns
RemoveListener(NetworkListener)
Removes a listener from the network status system.
Parameters
listener
NetworkStatus .NetworkListener
StartAsync(string)
Starts the network status system. This will listen to the OS for network changes, and also does a ping check to confirm the current network status.
Parameters
url
string