Vanara.PInvoke.Mpr 4.1.1

Prefix Reserved
dotnet add package Vanara.PInvoke.Mpr --version 4.1.1
                    
NuGet\Install-Package Vanara.PInvoke.Mpr -Version 4.1.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.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.PInvoke.Mpr" Version="4.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Vanara.PInvoke.Mpr" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vanara.PInvoke.Mpr --version 4.1.1
                    
#r "nuget: Vanara.PInvoke.Mpr, 4.1.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.
#addin nuget:?package=Vanara.PInvoke.Mpr&version=4.1.1
                    
Install Vanara.PInvoke.Mpr as a Cake Addin
#tool nuget:?package=Vanara.PInvoke.Mpr&version=4.1.1
                    
Install Vanara.PInvoke.Mpr as a Cake Tool

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 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net9.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 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.1.1 707 a month ago
4.1.0 358 a month ago
4.0.6 779 2 months ago
4.0.5 468 2 months ago
4.0.4 4,245 7 months ago
4.0.3 999 8 months ago
4.0.2 1,780 10 months ago
4.0.1 31,247 4/30/2024
4.0.0 3,681 3/29/2024
4.0.0-beta2 276 1/22/2024
4.0.0-beta 290 11/20/2023
3.4.17 20,713 10/18/2023
3.4.16 5,566 8/7/2023
3.4.15 11,114 5/18/2023
3.4.14 1,633 4/15/2023
3.4.13 6,170 2/4/2023
3.4.12 7,708 1/15/2023
3.4.11 20,240 11/15/2022
3.4.10 2,867 10/25/2022
3.4.9 6,691 10/3/2022
3.4.8 2,206 9/16/2022
3.4.7 3,251 9/3/2022
3.4.6 3,667 8/7/2022
3.4.5 7,529 7/17/2022
3.4.4 2,376 7/5/2022
3.4.3 2,845 6/14/2022
3.4.2 4,023 5/13/2022
3.4.1 2,311 5/5/2022
3.4.0 6,494 3/14/2022
3.3.15 54,709 12/27/2021
3.3.14 4,863 10/26/2021
3.3.13 8,660 9/30/2021
3.3.12 2,318 8/30/2021
3.3.11 10,978 7/22/2021
3.3.10 3,616 6/4/2021
3.3.9 3,373 5/7/2021
3.3.8 2,689 4/7/2021
3.3.7 3,069 3/24/2021
3.3.6 1,360 3/19/2021
3.3.5 3,382 3/1/2021
3.3.4 1,599 2/11/2021
3.3.3 4,535 2/3/2021
3.3.2 1,018 1/21/2021
3.3.1 1,080 1/20/2021
3.3.0 2,092 11/20/2020
3.2.21 1,050 11/13/2020
3.2.20 4,011 11/8/2020
3.2.19 4,924 10/23/2020
3.2.18 1,114 10/21/2020
3.2.17 10,210 9/20/2020
3.2.16 1,155 9/7/2020
3.2.15 1,197 8/30/2020
3.2.14 1,154 8/20/2020
3.2.13 1,392 7/27/2020
3.2.12 1,165 7/13/2020
3.2.11 1,267 6/28/2020
3.2.10 2,206 6/14/2020
3.2.9 1,677 6/3/2020
3.2.7 1,279 5/4/2020
3.2.6 1,246 4/21/2020
3.2.5 1,172 4/15/2020
3.2.4 1,168 4/12/2020
3.2.3 1,172 4/1/2020
3.2.2 1,156 3/24/2020
3.2.1 1,618 3/17/2020
3.2.0 1,420 2/27/2020
3.1.9 1,261 1/17/2020
3.1.8 1,233 1/13/2020
3.1.7 1,194 1/6/2020
3.1.6 1,179 12/12/2019
3.1.5 1,316 11/26/2019
3.1.4 1,231 11/25/2019
3.1.3 1,395 11/8/2019
3.1.2 1,237 11/4/2019
3.1.1 1,191 10/17/2019
3.1.0 1,203 10/3/2019
3.0.1 1,158 9/20/2019
3.0.0 1,009 8/27/2019
2.3.11 1,294 6/9/2019
2.3.10 987 6/5/2019
2.3.9 957 5/26/2019
2.3.8 921 5/13/2019
2.3.7 983 4/24/2019
2.3.6 930 4/17/2019
2.3.5 924 4/10/2019
2.3.4 726 3/9/2019
2.3.3 712 3/8/2019
2.3.2 713 2/28/2019
2.3.1 695 2/25/2019
2.3.0 707 2/22/2019
2.2.1 752 2/12/2019
2.2.0 824 2/1/2019
2.1.2 1,067 1/14/2019
2.1.0 987 12/15/2018
2.0.1 841 12/7/2018
2.0.0 841 11/28/2018
1.1.0 1,066 9/10/2018
1.0.18 995 8/10/2018
1.0.17 1,000 7/30/2018
1.0.16 1,143 6/29/2018
1.0.15 1,012 6/27/2018
1.0.14 1,183 6/8/2018
1.0.13 1,129 6/6/2018
1.0.12 1,246 4/5/2018
1.0.11 1,185 4/4/2018
1.0.10 1,185 3/27/2018
1.0.9 1,203 3/26/2018
1.0.8 1,204 2/7/2018
1.0.7 1,192 1/27/2018
1.0.6 1,262 1/8/2018
1.0.5 1,304 12/28/2017
1.0.4 1,301 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