## Vanara.PInvoke.Mpr  
PInvoke API (methods, structures and constants) imported from Windows Mpr.dll.

- Includes methods from mpr.dll  
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.Mpr?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.Mpr?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.Mpr)  
### Methods - 100% API coverage (22 of 22 functions)  
Native Method | Header | Managed Method  
--- | --- | ---  
[MultinetGetConnectionPerformance](https://www.google.com/search?num=5&q=MultinetGetConnectionPerformanceA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.MultinetGetConnectionPerformance](https://github.com/dahall/Vanara/search?l=C%23&q=MultinetGetConnectionPerformance)  
[WNetAddConnection](https://www.google.com/search?num=5&q=WNetAddConnectionA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetAddConnection](https://github.com/dahall/Vanara/search?l=C%23&q=WNetAddConnection)  
[WNetAddConnection2](https://www.google.com/search?num=5&q=WNetAddConnection2A+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetAddConnection2](https://github.com/dahall/Vanara/search?l=C%23&q=WNetAddConnection2)  
[WNetAddConnection3](https://www.google.com/search?num=5&q=WNetAddConnection3A+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetAddConnection3](https://github.com/dahall/Vanara/search?l=C%23&q=WNetAddConnection3)  
[WNetCancelConnection2](https://www.google.com/search?num=5&q=WNetCancelConnection2A+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetCancelConnection2](https://github.com/dahall/Vanara/search?l=C%23&q=WNetCancelConnection2)  
[WNetCloseEnum](https://www.google.com/search?num=5&q=WNetCloseEnum+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetCloseEnum](https://github.com/dahall/Vanara/search?l=C%23&q=WNetCloseEnum)  
[WNetConnectionDialog](https://www.google.com/search?num=5&q=WNetConnectionDialog+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetConnectionDialog](https://github.com/dahall/Vanara/search?l=C%23&q=WNetConnectionDialog)  
[WNetConnectionDialog1](https://www.google.com/search?num=5&q=WNetConnectionDialog1A+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetConnectionDialog1](https://github.com/dahall/Vanara/search?l=C%23&q=WNetConnectionDialog1)  
[WNetDisconnectDialog](https://www.google.com/search?num=5&q=WNetDisconnectDialog+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetDisconnectDialog](https://github.com/dahall/Vanara/search?l=C%23&q=WNetDisconnectDialog)  
[WNetDisconnectDialog1](https://www.google.com/search?num=5&q=WNetDisconnectDialog1A+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetDisconnectDialog1](https://github.com/dahall/Vanara/search?l=C%23&q=WNetDisconnectDialog1)  
[WNetEnumResource](https://www.google.com/search?num=5&q=WNetEnumResourceA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetEnumResource](https://github.com/dahall/Vanara/search?l=C%23&q=WNetEnumResource)  
[WNetGetConnection](https://www.google.com/search?num=5&q=WNetGetConnectionA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetGetConnection](https://github.com/dahall/Vanara/search?l=C%23&q=WNetGetConnection)  
[WNetGetLastError](https://www.google.com/search?num=5&q=WNetGetLastErrorA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetGetLastError](https://github.com/dahall/Vanara/search?l=C%23&q=WNetGetLastError)  
[WNetGetNetworkInformation](https://www.google.com/search?num=5&q=WNetGetNetworkInformationA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetGetNetworkInformation](https://github.com/dahall/Vanara/search?l=C%23&q=WNetGetNetworkInformation)  
[WNetGetProviderName](https://www.google.com/search?num=5&q=WNetGetProviderNameA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetGetProviderName](https://github.com/dahall/Vanara/search?l=C%23&q=WNetGetProviderName)  
[WNetGetResourceInformation](https://www.google.com/search?num=5&q=WNetGetResourceInformationA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetGetResourceInformation](https://github.com/dahall/Vanara/search?l=C%23&q=WNetGetResourceInformation)  
[WNetGetResourceParent](https://www.google.com/search?num=5&q=WNetGetResourceParentA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetGetResourceParent](https://github.com/dahall/Vanara/search?l=C%23&q=WNetGetResourceParent)  
[WNetGetUniversalName](https://www.google.com/search?num=5&q=WNetGetUniversalNameA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetGetUniversalName](https://github.com/dahall/Vanara/search?l=C%23&q=WNetGetUniversalName)  
[WNetGetUser](https://www.google.com/search?num=5&q=WNetGetUserA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetGetUser](https://github.com/dahall/Vanara/search?l=C%23&q=WNetGetUser)  
[WNetOpenEnum](https://www.google.com/search?num=5&q=WNetOpenEnumA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetOpenEnum](https://github.com/dahall/Vanara/search?l=C%23&q=WNetOpenEnum)  
[WNetSetLastError](https://www.google.com/search?num=5&q=WNetSetLastErrorA+site%3Alearn.microsoft.com) | npapi.h | [Vanara.PInvoke.Mpr.WNetSetLastError](https://github.com/dahall/Vanara/search?l=C%23&q=WNetSetLastError)  
[WNetUseConnection](https://www.google.com/search?num=5&q=WNetUseConnectionA+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNetUseConnection](https://github.com/dahall/Vanara/search?l=C%23&q=WNetUseConnection)  
### Enumerations  
Native Enum | Header | Managed Enum  
--- | --- | ---  
[CONN_DLG](https://www.google.com/search?num=5&q=CONN_DLG+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.CONN_DLG](https://github.com/dahall/Vanara/search?l=C%23&q=CONN_DLG)  
[CONNECT](https://www.google.com/search?num=5&q=CONNECT+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.CONNECT](https://github.com/dahall/Vanara/search?l=C%23&q=CONNECT)  
[DISC](https://www.google.com/search?num=5&q=DISC+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.DISC](https://github.com/dahall/Vanara/search?l=C%23&q=DISC)  
[INFO_LEVEL](https://www.google.com/search?num=5&q=INFO_LEVEL+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.INFO_LEVEL](https://github.com/dahall/Vanara/search?l=C%23&q=INFO_LEVEL)  
[NETINFO](https://www.google.com/search?num=5&q=NETINFO+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.NETINFO](https://github.com/dahall/Vanara/search?l=C%23&q=NETINFO)  
[NETRESOURCEDisplayType](https://www.google.com/search?num=5&q=NETRESOURCEDisplayType+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.Mpr.NETRESOURCEDisplayType](https://github.com/dahall/Vanara/search?l=C%23&q=NETRESOURCEDisplayType)  
[NETRESOURCEScope](https://www.google.com/search?num=5&q=NETRESOURCEScope+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.Mpr.NETRESOURCEScope](https://github.com/dahall/Vanara/search?l=C%23&q=NETRESOURCEScope)  
[NETRESOURCEType](https://www.google.com/search?num=5&q=NETRESOURCEType+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.Mpr.NETRESOURCEType](https://github.com/dahall/Vanara/search?l=C%23&q=NETRESOURCEType)  
[NETRESOURCEUsage](https://www.google.com/search?num=5&q=NETRESOURCEUsage+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.Mpr.NETRESOURCEUsage](https://github.com/dahall/Vanara/search?l=C%23&q=NETRESOURCEUsage)  
[WNCON](https://www.google.com/search?num=5&q=WNCON+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.WNCON](https://github.com/dahall/Vanara/search?l=C%23&q=WNCON)  
[WNNC_NET](https://www.google.com/search?num=5&q=WNNC_NET+site%3Alearn.microsoft.com) | wnnc.h | [Vanara.PInvoke.Mpr.WNNC_NET](https://github.com/dahall/Vanara/search?l=C%23&q=WNNC_NET)  
### Structures  
Native Structure | Header | Managed Structure  
--- | --- | ---  
[CONNECTDLGSTRUCT](https://www.google.com/search?num=5&q=CONNECTDLGSTRUCT+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.CONNECTDLGSTRUCT](https://github.com/dahall/Vanara/search?l=C%23&q=CONNECTDLGSTRUCT)  
[DISCDLGSTRUCT](https://www.google.com/search?num=5&q=DISCDLGSTRUCT+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.DISCDLGSTRUCT](https://github.com/dahall/Vanara/search?l=C%23&q=DISCDLGSTRUCT)  
[NETCONNECTINFOSTRUCT](https://www.google.com/search?num=5&q=NETCONNECTINFOSTRUCT+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.NETCONNECTINFOSTRUCT](https://github.com/dahall/Vanara/search?l=C%23&q=NETCONNECTINFOSTRUCT)  
[NETINFOSTRUCT](https://www.google.com/search?num=5&q=NETINFOSTRUCT+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.NETINFOSTRUCT](https://github.com/dahall/Vanara/search?l=C%23&q=NETINFOSTRUCT)  
[NETRESOURCE](https://www.google.com/search?num=5&q=NETRESOURCE+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.NETRESOURCE](https://github.com/dahall/Vanara/search?l=C%23&q=NETRESOURCE)  
[REMOTE_NAME_INFO](https://www.google.com/search?num=5&q=REMOTE_NAME_INFO+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.REMOTE_NAME_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=REMOTE_NAME_INFO)  
[UNIVERSAL_NAME_INFO](https://www.google.com/search?num=5&q=UNIVERSAL_NAME_INFO+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.UNIVERSAL_NAME_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=UNIVERSAL_NAME_INFO)  
### Classes  
Native Class | Header | Managed Class  
--- | --- | ---  
[NETRESOURCE](https://www.google.com/search?num=5&q=NETRESOURCE+site%3Alearn.microsoft.com) | Winnetwk.h | [Vanara.PInvoke.Mpr.NETRESOURCE](https://github.com/dahall/Vanara/search?l=C%23&q=NETRESOURCE)  
[NetworkProviderException](https://www.google.com/search?num=5&q=NetworkProviderException+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.Mpr.NetworkProviderException](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkProviderException)  
[SafeWNetEnumHandle](https://www.google.com/search?num=5&q=SafeWNetEnumHandle+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.Mpr.SafeWNetEnumHandle](https://github.com/dahall/Vanara/search?l=C%23&q=SafeWNetEnumHandle)  
