Exemplo n.º 1
0
        public IJudgeNodeChannel CreateConnection()
        {
            var channel = JudgeNodeChannelFactory.CreateChannel(Location, new JudgeNodeCallback());

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