예제 #1
0
        public static bool Connect(string login, string pwd)
        {
            ServiceUserClient serviceUser = new ServiceUserClient();

            try
            {
                return serviceUser.Connect(login, pwd);
            }
            catch (Exception)
            {
                return false;
            }
        }
예제 #2
0
 /// <summary>
 /// Call WCF Connect function
 /// </summary>
 /// <param name="login"></param>
 /// <param name="password"></param>
 /// <returns></returns>
 public bool Connect(string login, string password)
 {
     return(_service.Connect(login, password));
 }