GetNextBlock() protected method

Gets the next block in the file that needs to be downloaded.
protected GetNextBlock ( ) : Range
return Range
            /// <summary>
            /// This method gets the next block to download, and downloads it. This loops
            /// until there are no more blocks, or we are told to stop.
            /// </summary>
            /// <remarks>
            /// This method is run on a thread.
            /// </remarks>
            private void DoStart()
            {
                Range rngBlockToDownload = null;

                try
                {
                    while (m_booKeepRunning && ((rngBlockToDownload = m_fdrFileDownloader.GetNextBlock()) != null))
                    {
                        DownloadBlock(rngBlockToDownload);
                    }
                }
                finally
                {
                    Finished = true;
                    FinishedDownloading(this, new EventArgs());
                }
            }