Esempio n. 1
0
        internal void  CS_ValidateUser(string name, string password, string fingerprint)
        {
            PacketStream stream = new PacketStream(0x0100);

            byte[] encName = desCipher.Encrypt(name);
            byte[] encPass = desCipher.Encrypt(password);
            stream.WriteInt32(encName.Length);
            stream.WriteBytes(encName);
            stream.WriteInt32(encPass.Length);
            stream.WriteBytes(encPass);
            stream.WriteString(fingerprint);
            ServerManager.Instance.Send(stream);
        }