Пример #1
0
        public void Rc4Test()
        {
            var module = new IpModule(new Url("http://192.168.1.199"), 8888, "TESThash")
            {
                Module            = IpModuleType.Ip150,
                Session           = Session,
                PasswordHash      = ExpectedHash,
                PasswordFirstHash = ExpectedFirstHash,
            };

            var manager = new IpModuleManager(module);
            var rc4     = manager.GetRc4AsHexString();

            Assert.AreEqual(ExpectedRc4, module.UserKey);
        }