## Vanara.PInvoke.PeerDist  
PInvoke API (methods, structures and constants) imported from Windows PeerDist.dll for the Peer Distribution API, which supports the Branch Cache feature in Windows 7.

- Includes methods from peerdist.dll  
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.PeerDist?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.PeerDist?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.PeerDist)  
### Methods - 100% API coverage (28 of 28 functions)  
Native Method | Header | Managed Method  
--- | --- | ---  
[PeerDistClientAddContentInformation](https://www.google.com/search?num=5&q=PeerDistClientAddContentInformation+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistClientAddContentInformation](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistClientAddContentInformation)  
[PeerDistClientAddData](https://www.google.com/search?num=5&q=PeerDistClientAddData+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistClientAddData](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistClientAddData)  
[PeerDistClientBlockRead](https://www.google.com/search?num=5&q=PeerDistClientBlockRead+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistClientBlockRead](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistClientBlockRead)  
[PeerDistClientCancelAsyncOperation](https://www.google.com/search?num=5&q=PeerDistClientCancelAsyncOperation+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistClientCancelAsyncOperation](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistClientCancelAsyncOperation)  
[PeerDistClientCloseContent](https://www.google.com/search?num=5&q=PeerDistClientCloseContent+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistClientCloseContent](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistClientCloseContent)  
[PeerDistClientCompleteContentInformation](https://www.google.com/search?num=5&q=PeerDistClientCompleteContentInformation+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistClientCompleteContentInformation](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistClientCompleteContentInformation)  
[PeerDistClientFlushContent](https://www.google.com/search?num=5&q=PeerDistClientFlushContent+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistClientFlushContent](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistClientFlushContent)  
[PeerDistClientGetInformationByHandle](https://www.google.com/search?num=5&q=PeerDistClientGetInformationByHandle+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistClientGetInformationByHandle](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistClientGetInformationByHandle)  
[PeerDistClientOpenContent](https://www.google.com/search?num=5&q=PeerDistClientOpenContent+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistClientOpenContent](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistClientOpenContent)  
[PeerDistClientStreamRead](https://www.google.com/search?num=5&q=PeerDistClientStreamRead+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistClientStreamRead](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistClientStreamRead)  
[PeerDistGetOverlappedResult](https://www.google.com/search?num=5&q=PeerDistGetOverlappedResult+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistGetOverlappedResult](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistGetOverlappedResult)  
[PeerDistGetStatus](https://www.google.com/search?num=5&q=PeerDistGetStatus+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistGetStatus](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistGetStatus)  
[PeerDistGetStatusEx](https://www.google.com/search?num=5&q=PeerDistGetStatusEx+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistGetStatusEx](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistGetStatusEx)  
[PeerDistRegisterForStatusChangeNotification](https://www.google.com/search?num=5&q=PeerDistRegisterForStatusChangeNotification+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistRegisterForStatusChangeNotification](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistRegisterForStatusChangeNotification)  
[PeerDistRegisterForStatusChangeNotificationEx](https://www.google.com/search?num=5&q=PeerDistRegisterForStatusChangeNotificationEx+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistRegisterForStatusChangeNotificationEx](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistRegisterForStatusChangeNotificationEx)  
[PeerDistServerCancelAsyncOperation](https://www.google.com/search?num=5&q=PeerDistServerCancelAsyncOperation+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistServerCancelAsyncOperation](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistServerCancelAsyncOperation)  
[PeerDistServerCloseContentInformation](https://www.google.com/search?num=5&q=PeerDistServerCloseContentInformation+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistServerCloseContentInformation](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistServerCloseContentInformation)  
[PeerDistServerCloseStreamHandle](https://www.google.com/search?num=5&q=PeerDistServerCloseStreamHandle+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistServerCloseStreamHandle](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistServerCloseStreamHandle)  
[PeerDistServerOpenContentInformation](https://www.google.com/search?num=5&q=PeerDistServerOpenContentInformation+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistServerOpenContentInformation](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistServerOpenContentInformation)  
[PeerDistServerOpenContentInformationEx](https://www.google.com/search?num=5&q=PeerDistServerOpenContentInformationEx+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistServerOpenContentInformationEx](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistServerOpenContentInformationEx)  
[PeerDistServerPublishAddToStream](https://www.google.com/search?num=5&q=PeerDistServerPublishAddToStream+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistServerPublishAddToStream](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistServerPublishAddToStream)  
[PeerDistServerPublishCompleteStream](https://www.google.com/search?num=5&q=PeerDistServerPublishCompleteStream+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistServerPublishCompleteStream](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistServerPublishCompleteStream)  
[PeerDistServerPublishStream](https://www.google.com/search?num=5&q=PeerDistServerPublishStream+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistServerPublishStream](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistServerPublishStream)  
[PeerDistServerRetrieveContentInformation](https://www.google.com/search?num=5&q=PeerDistServerRetrieveContentInformation+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistServerRetrieveContentInformation](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistServerRetrieveContentInformation)  
[PeerDistServerUnpublish](https://www.google.com/search?num=5&q=PeerDistServerUnpublish+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistServerUnpublish](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistServerUnpublish)  
[PeerDistShutdown](https://www.google.com/search?num=5&q=PeerDistShutdown+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistShutdown](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistShutdown)  
[PeerDistStartup](https://www.google.com/search?num=5&q=PeerDistStartup+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistStartup](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistStartup)  
[PeerDistUnregisterForStatusChangeNotification](https://www.google.com/search?num=5&q=PeerDistUnregisterForStatusChangeNotification+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PeerDistUnregisterForStatusChangeNotification](https://github.com/dahall/Vanara/search?l=C%23&q=PeerDistUnregisterForStatusChangeNotification)  
### Enumerations  
Native Enum | Header | Managed Enum  
--- | --- | ---  
[PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS](https://www.google.com/search?num=5&q=PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS)  
[PEERDIST_STATUS](https://www.google.com/search?num=5&q=PEERDIST_STATUS+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PEERDIST_STATUS](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_STATUS)  
### Structures  
Native Structure | Header | Managed Structure  
--- | --- | ---  
[PEERDIST_CLIENT_BASIC_INFO](https://www.google.com/search?num=5&q=PEERDIST_CLIENT_BASIC_INFO+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PEERDIST_CLIENT_BASIC_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_CLIENT_BASIC_INFO)  
[PEERDIST_CONTENT_HANDLE](https://www.google.com/search?num=5&q=PEERDIST_CONTENT_HANDLE+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.PeerDist.PEERDIST_CONTENT_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_CONTENT_HANDLE)  
[PEERDIST_CONTENT_TAG](https://www.google.com/search?num=5&q=PEERDIST_CONTENT_TAG+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PEERDIST_CONTENT_TAG](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_CONTENT_TAG)  
[PEERDIST_CONTENTINFO_HANDLE](https://www.google.com/search?num=5&q=PEERDIST_CONTENTINFO_HANDLE+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.PeerDist.PEERDIST_CONTENTINFO_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_CONTENTINFO_HANDLE)  
[PEERDIST_INSTANCE_HANDLE](https://www.google.com/search?num=5&q=PEERDIST_INSTANCE_HANDLE+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.PeerDist.PEERDIST_INSTANCE_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_INSTANCE_HANDLE)  
[PEERDIST_PUBLICATION_OPTIONS](https://www.google.com/search?num=5&q=PEERDIST_PUBLICATION_OPTIONS+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PEERDIST_PUBLICATION_OPTIONS](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_PUBLICATION_OPTIONS)  
[PEERDIST_RETRIEVAL_OPTIONS](https://www.google.com/search?num=5&q=PEERDIST_RETRIEVAL_OPTIONS+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PEERDIST_RETRIEVAL_OPTIONS](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_RETRIEVAL_OPTIONS)  
[PEERDIST_STATUS_INFO](https://www.google.com/search?num=5&q=PEERDIST_STATUS_INFO+site%3Alearn.microsoft.com) | peerdist.h | [Vanara.PInvoke.PeerDist.PEERDIST_STATUS_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_STATUS_INFO)  
[PEERDIST_STREAM_HANDLE](https://www.google.com/search?num=5&q=PEERDIST_STREAM_HANDLE+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.PeerDist.PEERDIST_STREAM_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=PEERDIST_STREAM_HANDLE)  
