BackgroundTransferRangesDownloadedEventArgs.WasDownloadRestarted Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
TRUE if the download was restarted from scratch since the previous RangesDownloaded event.
public:
property bool WasDownloadRestarted { bool get(); };
bool WasDownloadRestarted();
public bool WasDownloadRestarted { get; }
var boolean = backgroundTransferRangesDownloadedEventArgs.wasDownloadRestarted;
Public ReadOnly Property WasDownloadRestarted As Boolean
Property Value
bool
TRUE if the download was restarted from scratch since the previous RangesDownloaded event, otherwise FALSE.
Remarks
This is important, as the app will need to reset any state related to previously-processed DownloadedRanges data in that case. Download restarts can occur if the remote file’s timestamp or ETag changes.