private void ReceiveDownloadStringCompleted(object sender, DownloadStringCompletedEventArgs args)
 {
     try
     {
         if (!args.Cancelled)
         {
             string res    = args.Result;
             var    parsed = Reader.Read <MasterServerListRaw>(res);
             if (parsed != null)
             {
                 MasterListRaw = parsed;
                 OnMasterServerListChanged();
             }
             else
             {
                 OnMasterServerListFetchError(
                     "Couldn't get useful data from master server." +
                     " It might be broken or down for maintenance.");
             }
         }
     }
     catch (Exception e)
     {
         OnMasterServerListFetchError(e.ToString());
     }
 }
 private void ReceiveDownloadStringCompleted( object sender, DownloadStringCompletedEventArgs args )
 {
     try
     {
         if( !args.Cancelled )
         {
             string res = args.Result;
             var parsed = Reader.Read<MasterServerListRaw>( res );
             if( parsed != null )
             {
                 MasterListRaw = parsed;
                 OnMasterServerListChanged();
             }
             else
             {
                 OnMasterServerListFetchError(
                     "Couldn't get useful data from master server." +
                     " It might be broken or down for maintenance." );
             }
         }
     }
     catch( Exception e )
     {
         OnMasterServerListFetchError( e.ToString() );
     }
 }