Example #1
0
        private void MakeHandShake()
        {
            OutPacket mPacket = new OutPacket(4608);

            mPacket.AddBlock(new Random().Next(1000000, 9900000));
            mPacket.AddBlock(0);
            byte[] mBuffer = mPacket.GetOutput();
            for (byte I = 0; I < mBuffer.Length; I++)
            {
                mBuffer[I] ^= Core.BuildConfig.AuthKey_Server;
            }
            this.ClientSocket.Send(mBuffer);
        }