public bool CheckExistence(string username) { var client = new CADService.CAD_InterfaceClient(); client.ClientCredentials.Windows.ClientCredential.UserName = "******"; client.ClientCredentials.Windows.ClientCredential.Password = "******"; return(client.CheckExistence(username)); }
public bool Authenticate(string username, string password) { var client = new CADService.CAD_InterfaceClient(); client.ClientCredentials.Windows.ClientCredential.UserName = "******"; client.ClientCredentials.Windows.ClientCredential.Password = "******"; return(client.Authenticate(username, password)); }