Exemplo n.º 1
0
    private void sendAuthLogonProof()
    {
        RealmPacket packet = new RealmPacket(RealmOpcodes.AUTH_LOGON_PROOF);

        packet.writeBigInteger(srp.A, 32); // A
        packet.writeBytes(srp.M1);         // M1
        packet.writeBytes(new byte[20]);   // crc
        packet.writeInt16(0);              //

        client.BeginSend(packet.getFinalizedPacket(), 0, packet.Size, SocketFlags.None, new AsyncCallback(SendData), client);
    }
Exemplo n.º 2
0
    private void sendAuthLogonProof()
    {
        RealmPacket packet = new RealmPacket(RealmOpcodes.AUTH_LOGON_PROOF);

        packet.writeBigInteger(srp.A, 32); // A
        packet.writeBytes(srp.M1); // M1
        packet.writeBytes(new byte[20]); // crc
        packet.writeInt16(0); //

        client.BeginSend(packet.getFinalizedPacket(), 0, packet.Size, SocketFlags.None, new AsyncCallback(SendData), client);
    }