Exemplo n.º 1
0
 public override Boolean Connect()
 {
     try
     {
         this.token = api.Authenticate(this.Login, this.Password);
     }
     catch
     {
         return(false);
     }
     return(true);
 }
Exemplo n.º 2
0
 public string AuthenticateWithPassword(string login, string password)
 {
     return(diadoc.Authenticate(login, password));
 }