Vanara.PInvoke.Mpr 4.0.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.Mpr --version 4.0.1                
NuGet\Install-Package Vanara.PInvoke.Mpr -Version 4.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.Mpr" Version="4.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.Mpr --version 4.0.1                
#r "nuget: Vanara.PInvoke.Mpr, 4.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.Mpr as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.Mpr&version=4.0.1

// Install Vanara.PInvoke.Mpr as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.Mpr&version=4.0.1                

Vanara

Vanara.PInvoke.Mpr NuGet Package

Version Build status

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

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.Mpr

Functions Enumerations Structures
MultinetGetConnectionPerformance WNetAddConnection WNetAddConnection2 WNetAddConnection3 WNetCancelConnection2 WNetCloseEnum WNetConnectionDialog WNetConnectionDialog1 WNetDisconnectDialog WNetDisconnectDialog1 WNetEnumResource WNetGetConnection WNetGetLastError WNetGetNetworkInformation WNetGetProviderName WNetGetResourceInformation WNetGetResourceParent WNetGetUniversalName WNetGetUser WNetOpenEnum WNetSetLastError WNetUseConnection CONN_DLG CONNECT DISC INFO_LEVEL NETINFO NETRESOURCEDisplayType NETRESOURCEScope NETRESOURCEType NETRESOURCEUsage WNCON WNNC_NET CONNECTDLGSTRUCT DISCDLGSTRUCT NETCONNECTINFOSTRUCT NETINFOSTRUCT NETRESOURCE REMOTE_NAME_INFO UNIVERSAL_NAME_INFO
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Vanara.PInvoke.Mpr:

Package Downloads
Vanara.SystemServices

Classes for system related items derived from the Vanara PInvoke libraries. Includes extensions for Process (privileges and elavation), FileInfo (compression info), Shared Network Drives and Devices, and ServiceController (SetStartType) that pull extended information through native API calls.

Vanara.Windows.Forms

Classes for user interface related items derived from the Vanara PInvoke libraries. Includes extensions for almost all common controls to give post Vista capabilities, WinForms controls (panel, commandlink, enhanced combo boxes, IPAddress, split button, trackbar and themed controls), shutdown/restart/lock control, buffered painting, resource files, access control editor, simplifed designer framework for Windows.Forms.

Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.4 1,551 9/13/2024
4.0.3 840 8/5/2024
4.0.2 1,608 6/24/2024
4.0.1 18,251 4/30/2024
4.0.0 3,618 3/29/2024
4.0.0-beta2 258 1/22/2024
4.0.0-beta 272 11/20/2023
3.4.17 19,638 10/18/2023
3.4.16 5,523 8/7/2023
3.4.15 10,821 5/18/2023
3.4.14 1,596 4/15/2023
3.4.13 6,133 2/4/2023
3.4.12 7,654 1/15/2023
3.4.11 15,178 11/15/2022
3.4.10 2,845 10/25/2022
3.4.9 6,665 10/3/2022
3.4.8 2,179 9/16/2022
3.4.7 3,158 9/3/2022
3.4.6 3,636 8/7/2022
3.4.5 7,503 7/17/2022
3.4.4 2,347 7/5/2022
3.4.3 2,812 6/14/2022
3.4.2 3,975 5/13/2022
3.4.1 2,284 5/5/2022
3.4.0 6,394 3/14/2022
3.3.15 54,658 12/27/2021
3.3.14 4,796 10/26/2021
3.3.13 8,623 9/30/2021
3.3.12 2,287 8/30/2021
3.3.11 9,630 7/22/2021
3.3.10 3,589 6/4/2021
3.3.9 3,329 5/7/2021
3.3.8 2,657 4/7/2021
3.3.7 3,034 3/24/2021
3.3.6 1,324 3/19/2021
3.3.5 3,159 3/1/2021
3.3.4 1,565 2/11/2021
3.3.3 4,502 2/3/2021
3.3.2 984 1/21/2021
3.3.1 1,049 1/20/2021
3.3.0 1,873 11/20/2020
3.2.21 1,017 11/13/2020
3.2.20 3,978 11/8/2020
3.2.19 4,889 10/23/2020
3.2.18 1,081 10/21/2020
3.2.17 10,176 9/20/2020
3.2.16 1,122 9/7/2020
3.2.15 1,162 8/30/2020
3.2.14 1,119 8/20/2020
3.2.13 1,359 7/27/2020
3.2.12 1,131 7/13/2020
3.2.11 1,234 6/28/2020
3.2.10 2,172 6/14/2020
3.2.9 1,640 6/3/2020
3.2.7 1,242 5/4/2020
3.2.6 1,209 4/21/2020
3.2.5 1,135 4/15/2020
3.2.4 1,130 4/12/2020
3.2.3 1,134 4/1/2020
3.2.2 1,121 3/24/2020
3.2.1 1,577 3/17/2020
3.2.0 1,382 2/27/2020
3.1.9 1,224 1/17/2020
3.1.8 1,195 1/13/2020
3.1.7 1,160 1/6/2020
3.1.6 1,142 12/12/2019
3.1.5 1,282 11/26/2019
3.1.4 1,188 11/25/2019
3.1.3 1,315 11/8/2019
3.1.2 1,199 11/4/2019
3.1.1 1,152 10/17/2019
3.1.0 1,164 10/3/2019
3.0.1 1,119 9/20/2019
3.0.0 970 8/27/2019
2.3.11 1,245 6/9/2019
2.3.10 950 6/5/2019
2.3.9 920 5/26/2019
2.3.8 877 5/13/2019
2.3.7 943 4/24/2019
2.3.6 892 4/17/2019
2.3.5 885 4/10/2019
2.3.4 687 3/9/2019
2.3.3 669 3/8/2019
2.3.2 672 2/28/2019
2.3.1 656 2/25/2019
2.3.0 670 2/22/2019
2.2.1 714 2/12/2019
2.2.0 786 2/1/2019
2.1.2 1,001 1/14/2019
2.1.0 924 12/15/2018
2.0.1 799 12/7/2018
2.0.0 795 11/28/2018
1.1.0 1,009 9/10/2018
1.0.18 939 8/10/2018
1.0.17 923 7/30/2018
1.0.16 1,029 6/29/2018
1.0.15 931 6/27/2018
1.0.14 1,064 6/8/2018
1.0.13 1,013 6/6/2018
1.0.12 1,121 4/5/2018
1.0.11 1,059 4/4/2018
1.0.10 1,062 3/27/2018
1.0.9 1,078 3/26/2018
1.0.8 1,077 2/7/2018
1.0.7 1,062 1/27/2018
1.0.6 1,132 1/8/2018
1.0.5 1,177 12/28/2017
1.0.4 1,167 12/15/2017

Currently implements:

Functions
MultinetGetConnectionPerformance WNetAddConnection WNetAddConnection2 WNetAddConnection3 WNetCancelConnection2 WNetCloseEnum WNetConnectionDialog WNetConnectionDialog1 WNetDisconnectDialog WNetDisconnectDialog1 WNetEnumResource WNetGetConnection WNetGetLastError WNetGetNetworkInformation WNetGetProviderName WNetGetResourceInformation WNetGetResourceParent WNetGetUniversalName WNetGetUser WNetOpenEnum WNetSetLastError WNetUseConnection

Structures
CONNECTDLGSTRUCT DISCDLGSTRUCT NETCONNECTINFOSTRUCT NETINFOSTRUCT NETRESOURCE REMOTE_NAME_INFO UNIVERSAL_NAME_INFO