public IJudgeNodeChannel CreateConnection() { var channel = JudgeNodeChannelFactory.CreateChannel(Location, new JudgeNodeCallback()); channel.Authenticate(Password); return(channel); }
public bool CheckPassword() { using (var channel = JudgeNodeChannelFactory.CreateChannel(Location, new JudgeNodeCallback())) { return(channel.Authenticate(Password)); } }