예제 #1
0
        public string StudentInfo(int idstudent, string PWD)
        {
            ChannelFactory <IContract> factory = GetFactory();
            IContract channel = factory.CreateChannel();
            string    Result  = channel.Auth(idstudent, PWD);

            factory.Close();
            return(Result);
        }