NitroDebugger.RSP.Presentation.ReceiveReply C# (CSharp) Method

ReceiveReply() public method

public ReceiveReply ( ) : ReplyPacket
return ReplyPacket
        public ReplyPacket ReceiveReply()
        {
            ReplyPacket response = null;
            int count = 0;

            do {
                if (count == MaxWriteAttemps)
                    throw new ProtocolViolationException("[PRES] Can not receive correctly");
                count++;

                response = this.NextReply();
            } while (response == null);

            return response;
        }