示例#1
0
        public void PauseTransfer(TransferQueue queue)
        {
            //Pause the queue.
            //This doesn't have to be done for the downloading queue, but its here for a reason.
            queue.Pause();

            PacketWriter pw = new PacketWriter();

            pw.Write((byte)Headers.Pause);
            pw.Write(queue.ID);
            Send(pw.GetBytes());
        }