Exemple #1
0
 public string log(string companyName, string Product, string code, string _user, string _pass)
 {
     try
     {
         com.sgdsoft.Service a = new com.sgdsoft.Service();
         string k = a.GetKeyDirect(companyName, Product, code, _user, _pass);
         return(k);
     }
     catch (Exception ex)
     {
         return("Lỗi");
     }
 }
Exemple #2
0
 public bool Check(string user, string pass)
 {
     try
     {
         //Comboserver.Service a = new Comboserver.Service();
         com.sgdsoft.Service a = new com.sgdsoft.Service();
         bool k = a.CheckUserLogin(user, pass);
         return(k);
     }
     catch (Exception ex)
     {
         return(false);
     }
 }