IBackgroundCopyFile3 interface

Use this interface to retrieve the name of the temporary file that contains the downloaded content and to validate the file so that peers can request its content.

To get an IBackgroundCopyFile3 interface pointer, call the IBackgroundCopyFile::QueryInterface method using __uuidof(IBackgroundCopyFile3) for the interface identifier.

Members

The IBackgroundCopyFile3 interface inherits from IBackgroundCopyFile and IBackgroundCopyFile2. IBackgroundCopyFile3 also has these types of members:

  • Methods

Methods

The IBackgroundCopyFile3 interface has these methods.

Method Description
GetTemporaryName

Gets the full path of the temporary file that contains the content of the download.

GetValidationState

Gets the validation state of this file.

IsDownloadedFromPeer

Gets a value that determines if any part of the file was downloaded from a peer.

SetValidationState

Sets the validation state of this file.

 

Requirements

Minimum supported client

Windows 10, version 1709 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Deliveryoptimization.h

IDL

DeliveryOptimization.idl

Library

Dosvc.lib

DLL

Dosvc.dll

IID

IID_IBackgroundCopyFile3 is defined as 659cdeaa-489e-11d9-a9cd-000d56965251

See also

IBackgroundCopyFile

IBackgroundCopyFile2