Vanara.PInvoke.NetApi32 2.3.6

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.NetApi32 --version 2.3.6                
NuGet\Install-Package Vanara.PInvoke.NetApi32 -Version 2.3.6                
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.NetApi32" Version="2.3.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.NetApi32 --version 2.3.6                
#r "nuget: Vanara.PInvoke.NetApi32, 2.3.6"                
#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.NetApi32 as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.NetApi32&version=2.3.6

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

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  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 was computed.  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.NetApi32:

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.Library

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

Gerrie.Extensions.UncAccess

Simplifies mapping UNC shares with specific credentials into the application context for access. Usage: - Call AddUncAccessManager on your DI Collection during Startup. - Inject IUncAccessManager where needed - Call Login() overload with the path and credential you are using to access the UNC share. - Access the share using standard File IO. - Call Logout() when you have finished accessing the UNC Share. This library is based off of a stackoverflow post http://stackoverflow.com/questions/22940433/accessing-unc-shares-with-asp-net-application

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Vanara.PInvoke.NetApi32:

Repository Stars
zhuxb711/RX-Explorer
一款优雅的UWP文件管理器 | An elegant UWP Explorer
lithnet/access-manager
Access Manager provides web-based access to local admin (LAPS) passwords, BitLocker recovery keys, and just-in-time administrative access to Windows computers in a modern, secure, and user-friendly way.
Version Downloads Last updated
4.0.4 863 9/13/2024
4.0.3 361 8/5/2024
4.0.2 327 6/24/2024
4.0.1 957 4/30/2024
4.0.0 350 3/29/2024
4.0.0-beta2 232 1/22/2024
4.0.0-beta 217 11/20/2023
3.4.17 2,122 10/18/2023
3.4.16 693 8/7/2023
3.4.15 2,022 5/18/2023
3.4.14 511 4/15/2023
3.4.13 19,072 2/4/2023
3.4.12 793 1/15/2023
3.4.11 2,749 11/15/2022
3.4.10 1,144 10/25/2022
3.4.9 1,543 10/3/2022
3.4.8 1,190 9/16/2022
3.4.7 1,064 9/3/2022
3.4.6 1,137 8/7/2022
3.4.5 5,780 7/17/2022
3.4.4 1,578 7/5/2022
3.4.3 1,211 6/14/2022
3.4.2 2,694 5/13/2022
3.4.1 1,173 5/5/2022
3.4.0 1,826 3/14/2022
3.3.15 4,776 12/27/2021
3.3.14 966 10/26/2021
3.3.13 870 9/30/2021
3.3.12 1,041 8/30/2021
3.3.11 7,270 7/22/2021
3.3.10 934 6/4/2021
3.3.9 1,459 5/7/2021
3.3.8 899 4/7/2021
3.3.7 867 3/24/2021
3.3.6 858 3/19/2021
3.3.5 871 3/1/2021
3.3.4 822 2/11/2021
3.3.3 799 2/3/2021
3.3.2 809 1/21/2021
3.3.1 958 1/20/2021
3.3.0 1,457 11/20/2020
3.2.21 916 11/13/2020
3.2.20 3,820 11/8/2020
3.2.19 4,761 10/23/2020
3.2.18 961 10/21/2020
3.2.17 2,497 9/20/2020
3.2.16 1,395 9/7/2020
3.2.15 1,024 8/30/2020
3.2.14 953 8/20/2020
3.2.13 1,046 7/27/2020
3.2.12 945 7/13/2020
3.2.11 1,017 6/28/2020
3.2.10 1,065 6/14/2020
3.2.9 1,017 6/3/2020
3.2.7 1,026 5/4/2020
3.2.6 1,001 4/21/2020
3.2.5 1,030 4/15/2020
3.2.4 956 4/12/2020
3.2.3 968 4/1/2020
3.2.2 924 3/24/2020
3.2.1 975 3/17/2020
3.2.0 1,199 2/27/2020
3.1.9 1,025 1/17/2020
3.1.8 1,083 1/13/2020
3.1.7 1,032 1/6/2020
3.1.6 1,001 12/12/2019
3.1.5 1,172 11/26/2019
3.1.4 1,057 11/25/2019
3.1.3 1,156 11/8/2019
3.1.2 1,051 11/4/2019
3.1.1 1,165 10/17/2019
3.1.0 1,008 10/3/2019
3.0.1 1,067 9/20/2019
3.0.0 971 8/27/2019
2.3.11 1,093 6/9/2019
2.3.10 904 6/5/2019
2.3.9 949 5/26/2019
2.3.8 919 5/13/2019
2.3.7 968 4/24/2019
2.3.6 942 4/17/2019
2.3.5 901 4/10/2019
2.3.4 915 3/9/2019
2.3.3 897 3/8/2019
2.3.2 925 2/28/2019
2.3.1 909 2/25/2019
2.3.0 896 2/22/2019
2.2.1 717 2/12/2019
2.2.0 727 2/1/2019
2.1.2 977 1/14/2019
2.1.0 758 12/15/2018
2.0.1 776 12/7/2018
2.0.0 810 11/28/2018
1.1.0 919 9/10/2018
1.0.18 925 8/10/2018
1.0.17 884 7/30/2018
1.0.16 901 6/29/2018
1.0.15 979 6/27/2018
1.0.14 1,022 6/8/2018
1.0.13 973 6/6/2018
1.0.12 1,018 4/5/2018
1.0.11 1,053 4/4/2018
1.0.10 1,052 3/27/2018
1.0.9 1,014 3/26/2018
1.0.8 1,038 2/7/2018
1.0.7 1,023 1/27/2018
1.0.6 1,117 1/8/2018
1.0.5 1,101 12/28/2017
1.0.4 1,081 12/15/2017
1.0.3 954 12/8/2017
1.0.2 998 11/30/2017
1.0.1 1,000 11/28/2017

Currently implements:

Functions
DavAddConnection, DavCancelConnectionsToServer, DavDeleteConnection, DavFlushFile, DavGetExtendedError, DavGetHTTPFromUNCPath, DavGetTheLockOwnerOfTheFile, DavGetUNCFromHTTPPath, DavInvalidateCache, DavRegisterAuthCallback, DavUnregisterAuthCallback, DsAddressToSiteNamesA, DsAddressToSiteNamesExA, DsAddressToSiteNamesExW, DsAddressToSiteNamesW, DsDeregisterDnsHostRecordsA, DsDeregisterDnsHostRecordsW, DsEnumerateDomainTrustsA, DsEnumerateDomainTrustsW, DsGetDcCloseW, DsGetDcNameA, DsGetDcNameW, DsGetDcNextA, DsGetDcNextW, DsGetDcOpenA, DsGetDcOpenW, DsGetDcSiteCoverageA, DsGetDcSiteCoverageW, DsGetForestTrustInformationW, DsGetSiteNameA, DsGetSiteNameW, DsMergeForestTrustInformationW, DsRoleFreeMemory, DsRoleGetPrimaryDomainInformation, DsValidateSubnetNameA, DsValidateSubnetNameW, NetAddAlternateComputerName, NetAddServiceAccount, NetAlertRaise, NetAlertRaiseEx, NetApiBufferAllocate, NetApiBufferFree, NetApiBufferReallocate, NetApiBufferSize, NetConnectionEnum, NetCreateProvisioningPackage, NetDfsAdd, NetDfsAddFtRoot, NetDfsAddRootTarget, NetDfsAddStdRoot, NetDfsAddStdRootForced, NetDfsEnum, NetDfsGetClientInfo, NetDfsGetFtContainerSecurity, NetDfsGetInfo, NetDfsGetSecurity, NetDfsGetStdContainerSecurity, NetDfsGetSupportedNamespaceVersion, NetDfsMove, NetDfsRemove, NetDfsRemoveFtRoot, NetDfsRemoveFtRootForced, NetDfsRemoveRootTarget, NetDfsRemoveStdRoot, NetDfsSetClientInfo, NetDfsSetFtContainerSecurity, NetDfsSetInfo, NetDfsSetSecurity, NetDfsSetStdContainerSecurity, NetEnumerateComputerNames, NetEnumerateServiceAccounts, NetFileClose, NetFileEnum, NetFileGetInfo, NetFreeAadJoinInformation, NetGetAadJoinInformation, NetGetAnyDCName, NetGetDCName, NetGetDisplayInformationIndex, NetGetJoinableOUs, NetGetJoinInformation, NetGroupAdd, NetGroupAddUser, NetGroupDel, NetGroupDelUser, NetGroupEnum, NetGroupGetInfo, NetGroupGetUsers, NetGroupSetInfo, NetGroupSetUsers, NetIsServiceAccount, NetJoinDomain, NetLocalGroupAdd, NetLocalGroupAddMember, NetLocalGroupAddMembers, NetLocalGroupDel, NetLocalGroupDelMember, NetLocalGroupDelMembers, NetLocalGroupEnum, NetLocalGroupGetInfo, NetLocalGroupGetMembers, NetLocalGroupSetInfo, NetLocalGroupSetMembers, NetProvisionComputerAccount, NetQueryDisplayInformation, NetQueryServiceAccount, NetRemoteComputerSupports, NetRemoteTOD, NetRemoveAlternateComputerName, NetRemoveServiceAccount, NetRenameMachineInDomain, NetRequestOfflineDomainJoin, NetRequestProvisioningPackageInstall, NetScheduleJobAdd, NetScheduleJobDel, NetScheduleJobEnum, NetScheduleJobGetInfo, NetServerComputerNameAdd, NetServerComputerNameDel, NetServerDiskEnum, NetServerEnum, NetServerGetInfo, NetServerSetInfo, NetServerTransportAdd, NetServerTransportAddEx, NetServerTransportDel, NetServerTransportEnum, NetSessionDel, NetSessionEnum, NetSessionGetInfo, NetSetPrimaryComputerName, NetShareAdd, NetShareCheck, NetShareDel, NetShareDelEx, NetShareEnum, NetShareGetInfo, NetShareSetInfo, NetStatisticsGet, NetUnjoinDomain, NetUseAdd, NetUseDel, NetUseEnum, NetUseGetInfo, NetUserAdd, NetUserChangePassword, NetUserDel, NetUserEnum, NetUserGetGroups, NetUserGetInfo, NetUserGetLocalGroups, NetUserModalsGet, NetUserModalsSet, NetUserSetGroups, NetUserSetInfo, NetValidateName, NetValidatePasswordPolicy, NetValidatePasswordPolicyFree, NetWkstaGetInfo, NetWkstaSetInfo, NetWkstaTransportAdd, NetWkstaTransportDel, NetWkstaTransportEnum, NetWkstaUserEnum, NetWkstaUserGetInfo, NetWkstaUserSetInfo

Structures
DAV_CALLBACK_AUTH_BLOB, DAV_CALLBACK_AUTH_UNP, DAV_CALLBACK_CRED, DOMAIN_CONTROLLER_INFO, DS_DOMAIN_TRUSTS, DSROLE_OPERATION_STATE_INFO, DSROLE_PRIMARY_DOMAIN_INFO_BASIC, DSROLE_UPGRADE_STATUS_INFO, GROUP_INFO_0, GROUP_INFO_1, GROUP_INFO_1002, GROUP_INFO_1005, GROUP_INFO_2, GROUP_INFO_3, GROUP_USERS_INFO_0, GROUP_USERS_INFO_1, LOCALGROUP_INFO_0, LOCALGROUP_INFO_1, LOCALGROUP_INFO_1002, LOCALGROUP_MEMBERS_INFO_0, LOCALGROUP_MEMBERS_INFO_1, LOCALGROUP_MEMBERS_INFO_2, LOCALGROUP_MEMBERS_INFO_3, LOCALGROUP_USERS_INFO_0, NET_DISPLAY_GROUP, NET_DISPLAY_MACHINE, NET_DISPLAY_USER, NET_VALIDATE_AUTHENTICATION_INPUT_ARG, NET_VALIDATE_OUTPUT_ARG, NET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG, NET_VALIDATE_PASSWORD_HASH, NET_VALIDATE_PASSWORD_RESET_INPUT_ARG, NET_VALIDATE_PERSISTED_FIELDS, USER_INFO_0, USER_INFO_1, USER_INFO_10, USER_INFO_1003, USER_INFO_1005, USER_INFO_1006, USER_INFO_1007, USER_INFO_1008, USER_INFO_1009, USER_INFO_1010, USER_INFO_1011, USER_INFO_1012, USER_INFO_1013, USER_INFO_1014, USER_INFO_1017, USER_INFO_1018, USER_INFO_1020, USER_INFO_1023, USER_INFO_1024, USER_INFO_1025, USER_INFO_1051, USER_INFO_1052, USER_INFO_1053, USER_INFO_11, USER_INFO_2, USER_INFO_20, USER_INFO_21, USER_INFO_22, USER_INFO_23, USER_INFO_24, USER_INFO_3, USER_INFO_4, USER_MODALS_INFO_0, USER_MODALS_INFO_1, USER_MODALS_INFO_1001, USER_MODALS_INFO_1002, USER_MODALS_INFO_1003, USER_MODALS_INFO_1004, USER_MODALS_INFO_1005, USER_MODALS_INFO_1006, USER_MODALS_INFO_1007, USER_MODALS_INFO_2, USER_MODALS_INFO_3, ADMIN_OTHER_INFO, ERRLOG_OTHER_INFO, PRINT_OTHER_INFO, STD_ALERT, USER_OTHER_INFO, AT_ENUM, AT_INFO, DFS_GET_PKT_ENTRY_STATE_ARG, DFS_INFO_1, DFS_INFO_100, DFS_INFO_101, DFS_INFO_102, DFS_INFO_103, DFS_INFO_104, DFS_INFO_105, DFS_INFO_106, DFS_INFO_107, DFS_INFO_150, DFS_INFO_2, DFS_INFO_200, DFS_INFO_3, DFS_INFO_300, DFS_INFO_4, DFS_INFO_5, DFS_INFO_50, DFS_INFO_6, DFS_INFO_7, DFS_INFO_8, DFS_INFO_9, DFS_STORAGE_INFO, DFS_STORAGE_INFO_1, DFS_TARGET_PRIORITY, DFS_SUPPORTED_NAMESPACE_VERSION_INFO, DSREG_USER_INFO, NETSETUP_PROVISIONING_PARAMS, TIME_OF_DAY_INFO, SERVER_INFO_100, SERVER_INFO_101, SERVER_INFO_102, SERVER_INFO_402, SERVER_INFO_403, SERVER_TRANSPORT_INFO_0, SERVER_TRANSPORT_INFO_1, SERVER_TRANSPORT_INFO_2, SERVER_TRANSPORT_INFO_3, CONNECTION_INFO_0, CONNECTION_INFO_1, FILE_INFO_2, FILE_INFO_3, SESSION_INFO_0, SESSION_INFO_1, SESSION_INFO_10, SESSION_INFO_2, SESSION_INFO_502, SHARE_INFO_0, SHARE_INFO_1, SHARE_INFO_1004, SHARE_INFO_1005, SHARE_INFO_1006, SHARE_INFO_1501, SHARE_INFO_1503, SHARE_INFO_2, SHARE_INFO_501, SHARE_INFO_502, SHARE_INFO_503, STAT_SERVER_0, STAT_WORKSTATION_0, USE_INFO_0, USE_INFO_1, USE_INFO_2, USE_INFO_3, USE_INFO_4, USE_INFO_5, WKSTA_INFO_100, WKSTA_INFO_101, WKSTA_INFO_1010, WKSTA_INFO_1011, WKSTA_INFO_1012, WKSTA_INFO_1013, WKSTA_INFO_1018, WKSTA_INFO_102, WKSTA_INFO_1023, WKSTA_INFO_1027, WKSTA_INFO_1028, WKSTA_INFO_1032, WKSTA_INFO_1033, WKSTA_INFO_1041, WKSTA_INFO_1042, WKSTA_INFO_1043, WKSTA_INFO_1044, WKSTA_INFO_1045, WKSTA_INFO_1046, WKSTA_INFO_1047, WKSTA_INFO_1048, WKSTA_INFO_1049, WKSTA_INFO_1050, WKSTA_INFO_1051, WKSTA_INFO_1052, WKSTA_INFO_1053, WKSTA_INFO_1054, WKSTA_INFO_1055, WKSTA_INFO_1056, WKSTA_INFO_1057, WKSTA_INFO_1058, WKSTA_INFO_1059, WKSTA_INFO_1060, WKSTA_INFO_1061, WKSTA_INFO_1062, WKSTA_INFO_302, WKSTA_INFO_402, WKSTA_INFO_502, WKSTA_TRANSPORT_INFO_0, WKSTA_USER_INFO_0, WKSTA_USER_INFO_1, WKSTA_USER_INFO_1101