## Vanara.PInvoke.BITS  
PInvoke API (interfaces, structures and constants) imported for Windows BITS (Background Intelligent Transfer Service).

- Includes methods from qmgr.dll  
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.BITS?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.BITS?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.BITS)  
### Enumerations  
Native Enum | Header | Managed Enum  
--- | --- | ---  
[BG_AUTH_SCHEME](https://www.google.com/search?num=5&q=BG_AUTH_SCHEME+site%3Alearn.microsoft.com) | Bits1_5.h | [Vanara.PInvoke.BITS.BG_AUTH_SCHEME](https://github.com/dahall/Vanara/search?l=C%23&q=BG_AUTH_SCHEME)  
[BG_AUTH_TARGET](https://www.google.com/search?num=5&q=BG_AUTH_TARGET+site%3Alearn.microsoft.com) | Bits1_5.h | [Vanara.PInvoke.BITS.BG_AUTH_TARGET](https://github.com/dahall/Vanara/search?l=C%23&q=BG_AUTH_TARGET)  
[BG_CERT_STORE_LOCATION](https://www.google.com/search?num=5&q=BG_CERT_STORE_LOCATION+site%3Alearn.microsoft.com) | Bits2_5.h | [Vanara.PInvoke.BITS.BG_CERT_STORE_LOCATION](https://github.com/dahall/Vanara/search?l=C%23&q=BG_CERT_STORE_LOCATION)  
[BG_COPY_FILE](https://www.google.com/search?num=5&q=BG_COPY_FILE+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.BITS.BG_COPY_FILE](https://github.com/dahall/Vanara/search?l=C%23&q=BG_COPY_FILE)  
[BG_ENABLE_PEERCACHING](https://www.google.com/search?num=5&q=BG_ENABLE_PEERCACHING+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.BITS.BG_ENABLE_PEERCACHING](https://github.com/dahall/Vanara/search?l=C%23&q=BG_ENABLE_PEERCACHING)  
[BG_ERROR_CONTEXT](https://www.google.com/search?num=5&q=BG_ERROR_CONTEXT+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.BG_ERROR_CONTEXT](https://github.com/dahall/Vanara/search?l=C%23&q=BG_ERROR_CONTEXT)  
[BG_HTTP_SECURITY](https://www.google.com/search?num=5&q=BG_HTTP_SECURITY+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.BITS.BG_HTTP_SECURITY](https://github.com/dahall/Vanara/search?l=C%23&q=BG_HTTP_SECURITY)  
[BG_JOB_ENABLE_PEERCACHING](https://www.google.com/search?num=5&q=BG_JOB_ENABLE_PEERCACHING+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.BITS.BG_JOB_ENABLE_PEERCACHING](https://github.com/dahall/Vanara/search?l=C%23&q=BG_JOB_ENABLE_PEERCACHING)  
[BG_JOB_ENUM](https://www.google.com/search?num=5&q=BG_JOB_ENUM+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.BITS.BG_JOB_ENUM](https://github.com/dahall/Vanara/search?l=C%23&q=BG_JOB_ENUM)  
[BG_JOB_PRIORITY](https://www.google.com/search?num=5&q=BG_JOB_PRIORITY+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.BG_JOB_PRIORITY](https://github.com/dahall/Vanara/search?l=C%23&q=BG_JOB_PRIORITY)  
[BG_JOB_PROXY_USAGE](https://www.google.com/search?num=5&q=BG_JOB_PROXY_USAGE+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.BG_JOB_PROXY_USAGE](https://github.com/dahall/Vanara/search?l=C%23&q=BG_JOB_PROXY_USAGE)  
[BG_JOB_STATE](https://www.google.com/search?num=5&q=BG_JOB_STATE+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.BG_JOB_STATE](https://github.com/dahall/Vanara/search?l=C%23&q=BG_JOB_STATE)  
[BG_JOB_TYPE](https://www.google.com/search?num=5&q=BG_JOB_TYPE+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.BG_JOB_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=BG_JOB_TYPE)  
[BG_NOTIFY](https://www.google.com/search?num=5&q=BG_NOTIFY+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.BITS.BG_NOTIFY](https://github.com/dahall/Vanara/search?l=C%23&q=BG_NOTIFY)  
[BG_TOKEN](https://www.google.com/search?num=5&q=BG_TOKEN+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.BITS.BG_TOKEN](https://github.com/dahall/Vanara/search?l=C%23&q=BG_TOKEN)  
[BITS_COST_STATE](https://www.google.com/search?num=5&q=BITS_COST_STATE+site%3Alearn.microsoft.com) | Bits5_0.h | [Vanara.PInvoke.BITS.BITS_COST_STATE](https://github.com/dahall/Vanara/search?l=C%23&q=BITS_COST_STATE)  
[BITS_FILE_PROPERTY_ID](https://www.google.com/search?num=5&q=BITS_FILE_PROPERTY_ID+site%3Alearn.microsoft.com) | Bits5_0.h | [Vanara.PInvoke.BITS.BITS_FILE_PROPERTY_ID](https://github.com/dahall/Vanara/search?l=C%23&q=BITS_FILE_PROPERTY_ID)  
[BITS_JOB_PROPERTY_ID](https://www.google.com/search?num=5&q=BITS_JOB_PROPERTY_ID+site%3Alearn.microsoft.com) | Bits5_0.h | [Vanara.PInvoke.BITS.BITS_JOB_PROPERTY_ID](https://github.com/dahall/Vanara/search?l=C%23&q=BITS_JOB_PROPERTY_ID)  
### Structures  
Native Structure | Header | Managed Structure  
--- | --- | ---  
[BG_AUTH_CREDENTIALS](https://www.google.com/search?num=5&q=BG_AUTH_CREDENTIALS+site%3Alearn.microsoft.com) | Bits1_5.h | [Vanara.PInvoke.BITS.BG_AUTH_CREDENTIALS](https://github.com/dahall/Vanara/search?l=C%23&q=BG_AUTH_CREDENTIALS)  
[BG_AUTH_CREDENTIALS_UNION](https://www.google.com/search?num=5&q=BG_AUTH_CREDENTIALS_UNION+site%3Alearn.microsoft.com) | Bits1_5.h | [Vanara.PInvoke.BITS.BG_AUTH_CREDENTIALS.BG_AUTH_CREDENTIALS_UNION](https://github.com/dahall/Vanara/search?l=C%23&q=BG_AUTH_CREDENTIALS_UNION)  
[BG_BASIC_CREDENTIALS](https://www.google.com/search?num=5&q=BG_BASIC_CREDENTIALS+site%3Alearn.microsoft.com) | Bits1_5.h | [Vanara.PInvoke.BITS.BG_AUTH_CREDENTIALS.BG_AUTH_CREDENTIALS_UNION.BG_BASIC_CREDENTIALS](https://github.com/dahall/Vanara/search?l=C%23&q=BG_BASIC_CREDENTIALS)  
[BG_FILE_INFO](https://www.google.com/search?num=5&q=BG_FILE_INFO+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.BG_FILE_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=BG_FILE_INFO)  
[BG_FILE_PROGRESS](https://www.google.com/search?num=5&q=BG_FILE_PROGRESS+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.BG_FILE_PROGRESS](https://github.com/dahall/Vanara/search?l=C%23&q=BG_FILE_PROGRESS)  
[BG_FILE_RANGE](https://www.google.com/search?num=5&q=BG_FILE_RANGE+site%3Alearn.microsoft.com) | Bits2_0.h | [Vanara.PInvoke.BITS.BG_FILE_RANGE](https://github.com/dahall/Vanara/search?l=C%23&q=BG_FILE_RANGE)  
[BG_JOB_PROGRESS](https://www.google.com/search?num=5&q=BG_JOB_PROGRESS+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.BG_JOB_PROGRESS](https://github.com/dahall/Vanara/search?l=C%23&q=BG_JOB_PROGRESS)  
[BG_JOB_REPLY_PROGRESS](https://www.google.com/search?num=5&q=BG_JOB_REPLY_PROGRESS+site%3Alearn.microsoft.com) | Bits1_5.h | [Vanara.PInvoke.BITS.BG_JOB_REPLY_PROGRESS](https://github.com/dahall/Vanara/search?l=C%23&q=BG_JOB_REPLY_PROGRESS)  
[BG_JOB_TIMES](https://www.google.com/search?num=5&q=BG_JOB_TIMES+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.BG_JOB_TIMES](https://github.com/dahall/Vanara/search?l=C%23&q=BG_JOB_TIMES)  
[BITS_FILE_PROPERTY_VALUE](https://www.google.com/search?num=5&q=BITS_FILE_PROPERTY_VALUE+site%3Alearn.microsoft.com) | Bits5_0.h | [Vanara.PInvoke.BITS.BITS_FILE_PROPERTY_VALUE](https://github.com/dahall/Vanara/search?l=C%23&q=BITS_FILE_PROPERTY_VALUE)  
[BITS_JOB_PROPERTY_VALUE](https://www.google.com/search?num=5&q=BITS_JOB_PROPERTY_VALUE+site%3Alearn.microsoft.com) | Bits5_0.h | [Vanara.PInvoke.BITS.BITS_JOB_PROPERTY_VALUE](https://github.com/dahall/Vanara/search?l=C%23&q=BITS_JOB_PROPERTY_VALUE)  
### Interfaces  
Native Interface | Header | Managed Interface  
--- | --- | ---  
[IBackgroundCopyCallback](https://www.google.com/search?num=5&q=IBackgroundCopyCallback+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyCallback](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyCallback)  
[IBackgroundCopyCallback2](https://www.google.com/search?num=5&q=IBackgroundCopyCallback2+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyCallback2](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyCallback2)  
[IBackgroundCopyCallback3](https://www.google.com/search?num=5&q=IBackgroundCopyCallback3+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyCallback3](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyCallback3)  
[IBackgroundCopyError](https://www.google.com/search?num=5&q=IBackgroundCopyError+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyError](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyError)  
[IBackgroundCopyFile](https://www.google.com/search?num=5&q=IBackgroundCopyFile+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyFile](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyFile)  
[IBackgroundCopyFile2](https://www.google.com/search?num=5&q=IBackgroundCopyFile2+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyFile2](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyFile2)  
[IBackgroundCopyFile3](https://www.google.com/search?num=5&q=IBackgroundCopyFile3+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyFile3](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyFile3)  
[IBackgroundCopyFile4](https://www.google.com/search?num=5&q=IBackgroundCopyFile4+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyFile4](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyFile4)  
[IBackgroundCopyFile5](https://www.google.com/search?num=5&q=IBackgroundCopyFile5+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyFile5](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyFile5)  
[IBackgroundCopyFile6](https://www.google.com/search?num=5&q=IBackgroundCopyFile6+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyFile6](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyFile6)  
[IBackgroundCopyJob](https://www.google.com/search?num=5&q=IBackgroundCopyJob+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyJob](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyJob)  
[IBackgroundCopyJob2](https://www.google.com/search?num=5&q=IBackgroundCopyJob2+site%3Alearn.microsoft.com) | Bits1_5.h | [Vanara.PInvoke.BITS.IBackgroundCopyJob2](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyJob2)  
[IBackgroundCopyJob3](https://www.google.com/search?num=5&q=IBackgroundCopyJob3+site%3Alearn.microsoft.com) | Bits2_0.h | [Vanara.PInvoke.BITS.IBackgroundCopyJob3](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyJob3)  
[IBackgroundCopyJob4](https://www.google.com/search?num=5&q=IBackgroundCopyJob4+site%3Alearn.microsoft.com) | Bits2_5.h | [Vanara.PInvoke.BITS.IBackgroundCopyJob4](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyJob4)  
[IBackgroundCopyJob5](https://www.google.com/search?num=5&q=IBackgroundCopyJob5+site%3Alearn.microsoft.com) | Bits5_0.h | [Vanara.PInvoke.BITS.IBackgroundCopyJob5](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyJob5)  
[IBackgroundCopyJobHttpOptions](https://www.google.com/search?num=5&q=IBackgroundCopyJobHttpOptions+site%3Alearn.microsoft.com) | Bits2_5.h | [Vanara.PInvoke.BITS.IBackgroundCopyJobHttpOptions](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyJobHttpOptions)  
[IBackgroundCopyJobHttpOptions2](https://www.google.com/search?num=5&q=IBackgroundCopyJobHttpOptions2+site%3Alearn.microsoft.com) | bits10_2.h | [Vanara.PInvoke.BITS.IBackgroundCopyJobHttpOptions2](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyJobHttpOptions2)  
[IBackgroundCopyJobHttpOptions3](https://www.google.com/search?num=5&q=IBackgroundCopyJobHttpOptions3+site%3Alearn.microsoft.com) | bits10_3.h | [Vanara.PInvoke.BITS.IBackgroundCopyJobHttpOptions3](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyJobHttpOptions3)  
[IBackgroundCopyManager](https://www.google.com/search?num=5&q=IBackgroundCopyManager+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IBackgroundCopyManager](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyManager)  
[IBackgroundCopyServerCertificateValidationCallback](https://www.google.com/search?num=5&q=IBackgroundCopyServerCertificateValidationCallback+site%3Alearn.microsoft.com) | bits10_3.h | [Vanara.PInvoke.BITS.IBackgroundCopyServerCertificateValidationCallback](https://github.com/dahall/Vanara/search?l=C%23&q=IBackgroundCopyServerCertificateValidationCallback)  
[IBitsPeer](https://www.google.com/search?num=5&q=IBitsPeer+site%3Alearn.microsoft.com) | Bits3_0.h | [Vanara.PInvoke.BITS.IBitsPeer](https://github.com/dahall/Vanara/search?l=C%23&q=IBitsPeer)  
[IBitsPeerCacheAdministration](https://www.google.com/search?num=5&q=IBitsPeerCacheAdministration+site%3Alearn.microsoft.com) | Bits3_0.h | [Vanara.PInvoke.BITS.IBitsPeerCacheAdministration](https://github.com/dahall/Vanara/search?l=C%23&q=IBitsPeerCacheAdministration)  
[IBitsPeerCacheRecord](https://www.google.com/search?num=5&q=IBitsPeerCacheRecord+site%3Alearn.microsoft.com) | Bits3_0.h | [Vanara.PInvoke.BITS.IBitsPeerCacheRecord](https://github.com/dahall/Vanara/search?l=C%23&q=IBitsPeerCacheRecord)  
[IBitsTokenOptions](https://www.google.com/search?num=5&q=IBitsTokenOptions+site%3Alearn.microsoft.com) | Bits4_0.h | [Vanara.PInvoke.BITS.IBitsTokenOptions](https://github.com/dahall/Vanara/search?l=C%23&q=IBitsTokenOptions)  
[IEnumBackgroundCopyFiles](https://www.google.com/search?num=5&q=IEnumBackgroundCopyFiles+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IEnumBackgroundCopyFiles](https://github.com/dahall/Vanara/search?l=C%23&q=IEnumBackgroundCopyFiles)  
[IEnumBackgroundCopyJobs](https://www.google.com/search?num=5&q=IEnumBackgroundCopyJobs+site%3Alearn.microsoft.com) | Bits.h | [Vanara.PInvoke.BITS.IEnumBackgroundCopyJobs](https://github.com/dahall/Vanara/search?l=C%23&q=IEnumBackgroundCopyJobs)  
[IEnumBitsPeerCacheRecords](https://www.google.com/search?num=5&q=IEnumBitsPeerCacheRecords+site%3Alearn.microsoft.com) | Bits3_0.h | [Vanara.PInvoke.BITS.IEnumBitsPeerCacheRecords](https://github.com/dahall/Vanara/search?l=C%23&q=IEnumBitsPeerCacheRecords)  
[IEnumBitsPeers](https://www.google.com/search?num=5&q=IEnumBitsPeers+site%3Alearn.microsoft.com) | Bits3_0.h | [Vanara.PInvoke.BITS.IEnumBitsPeers](https://github.com/dahall/Vanara/search?l=C%23&q=IEnumBitsPeers)  
### Classes  
Native Class | Header | Managed Class  
--- | --- | ---  
[BackgroundCopyManager](https://www.google.com/search?num=5&q=BackgroundCopyManager+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.BITS.BackgroundCopyManager](https://github.com/dahall/Vanara/search?l=C%23&q=BackgroundCopyManager)  
[BITS](https://www.google.com/search?num=5&q=BITS+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.BITS](https://github.com/dahall/Vanara/search?l=C%23&q=BITS)  
