/// <summary>
 /// On the host server state update.
 /// </summary>
 /// <param name="state">State.</param>
 public void OnHostServerStateUpdate(NetworkState state)
 {
     Device.BeginInvokeOnMainThread(() =>
     {
         lblHostServerState.Text = AppResources.AccesHoteLabel + state.Description();
     });
 }
 /// <summary>
 /// On the network state update.
 /// </summary>
 /// <param name="state">State.</param>
 public void OnNetworkStateUpdate(NetworkState state)
 {
     Device.BeginInvokeOnMainThread(() =>
     {
         lblNetworkState.Text = AppResources.EtatDuReseauLabel + state.Description();
     });
 }