Exemple #1
0
        public IJudgeNodeChannel CreateConnection()
        {
            var channel = JudgeNodeChannelFactory.CreateChannel(Location, new JudgeNodeCallback());

            channel.Authenticate(Password);
            return(channel);
        }
Exemple #2
0
 public bool CheckPassword()
 {
     using (var channel = JudgeNodeChannelFactory.CreateChannel(Location, new JudgeNodeCallback()))
     {
         return(channel.Authenticate(Password));
     }
 }