예제 #1
0
 public ConnectionViewModel()
 {
     try
     {
         Config koboConfig = apiConfig.Get(Apis.KoBoCollect);
         KoboLogin = koboConfig.Username;
         KoboUrl   = koboConfig.Server;
     }
     catch (Exception)
     {
         Console.WriteLine("API config file couldn't be read");
     }
 }