This property represents the current status of the mobile application connection, one of the ConnectionStatus class values.
public int ConnectionStatus { get; set; }
if (app.ConnectionStatus != ConnectionStatus.CONNECTED) { // start the connection to server app.StartConnection(100); }