Vanara.PInvoke.Security 1.0.4

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

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

Methods, structures and constants imported from AdvApi32.dll, Authz.dll and Secur32.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 was computed.  netcoreapp2.1 was computed.  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 (16)

Showing the top 5 NuGet packages that depend on Vanara.PInvoke.Security:

Package Downloads
Vanara.PInvoke.Ole

PInvoke API (methods, structures and constants) imported from Windows Ole32.dll, OleAut32 and PropSys.dll.

Vanara.PInvoke.Rpc

PInvoke API (methods, structures and constants) imported from Windows Rpc libraries.

Vanara.PInvoke.Shell32

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

Vanara.PInvoke.CredUI

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

Vanara.PInvoke.NetApi32

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

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Vanara.PInvoke.Security:

Repository Stars
ashmind/SharpLab
.NET language playground
omeryanar/FileExplorer
Windows File Explorer alternative with tab browsing
Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher
⇒ Disable Chrome's Developer Mode Extension Warning Popup & Elision & Manifest V3 webRequestBlocking limitations
cnbluefire/HotLyric
热词,为 HyPlayer 和 LyricEase 提供桌面歌词支持。https://www.microsoft.com/store/productId/9MXFFHVQVBV9
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 7,553 9/13/2024
4.0.3 22,596 8/5/2024
4.0.2 5,080 6/24/2024
4.0.1 24,736 4/30/2024
4.0.0 4,830 3/29/2024
4.0.0-beta2 1,454 1/22/2024
4.0.0-beta 1,648 11/20/2023
3.4.17 31,597 10/18/2023
3.4.16 25,889 8/7/2023
3.4.15 81,530 5/18/2023
3.4.14 21,224 4/15/2023
3.4.13 13,755 2/4/2023
3.4.12 10,090 1/15/2023
3.4.11 42,565 11/15/2022
3.4.10 12,779 10/25/2022
3.4.9 10,667 10/3/2022
3.4.8 13,201 9/16/2022
3.4.7 9,998 9/3/2022
3.4.6 11,197 8/7/2022
3.4.5 17,594 7/17/2022
3.4.4 10,322 7/5/2022
3.4.3 10,087 6/14/2022
3.4.2 12,843 5/13/2022
3.4.1 9,692 5/5/2022
3.4.0 14,976 3/14/2022
3.3.15 45,477 12/27/2021
3.3.14 10,695 10/26/2021
3.3.13 16,951 9/30/2021
3.3.12 6,932 8/30/2021
3.3.11 15,595 7/22/2021
3.3.10 10,995 6/4/2021
3.3.9 8,501 5/7/2021
3.3.8 6,684 4/7/2021
3.3.7 6,805 3/24/2021
3.3.6 5,310 3/19/2021
3.3.5 6,310 3/1/2021
3.3.4 7,920 2/11/2021
3.3.3 4,935 2/3/2021
3.3.2 4,954 1/21/2021
3.3.1 4,623 1/20/2021
3.3.0 8,330 11/20/2020
3.2.21 4,612 11/13/2020
3.2.20 7,468 11/8/2020
3.2.19 12,860 10/23/2020
3.2.18 4,391 10/21/2020
3.2.17 7,062 9/20/2020
3.2.16 4,768 9/7/2020
3.2.15 4,743 8/30/2020
3.2.14 4,379 8/20/2020
3.2.13 5,266 7/27/2020
3.2.12 4,651 7/13/2020
3.2.11 5,489 6/28/2020
3.2.10 4,728 6/14/2020
3.2.9 4,726 6/3/2020
3.2.7 7,617 5/4/2020
3.2.6 4,606 4/21/2020
3.2.5 4,315 4/15/2020
3.2.4 4,300 4/12/2020
3.2.3 4,420 4/1/2020
3.2.2 4,210 3/24/2020
3.2.1 4,399 3/17/2020
3.2.0 4,556 2/27/2020
3.1.9 4,604 1/17/2020
3.1.8 4,373 1/13/2020
3.1.7 4,002 1/6/2020
3.1.6 3,775 12/12/2019
3.1.5 3,887 11/26/2019
3.1.4 3,886 11/25/2019
3.1.3 3,946 11/8/2019
3.1.2 3,626 11/4/2019
3.1.1 5,035 10/17/2019
3.1.0 3,488 10/3/2019
3.0.1 3,282 9/20/2019
3.0.0 2,924 8/27/2019
2.3.11 2,053 6/9/2019
2.3.10 1,408 6/5/2019
2.3.9 1,401 5/26/2019
2.3.8 1,375 5/13/2019
2.3.7 1,423 4/24/2019
2.3.6 1,403 4/17/2019
2.3.5 1,468 4/10/2019
2.3.4 1,444 3/9/2019
2.3.3 1,342 3/8/2019
2.3.2 1,402 2/28/2019
2.3.1 1,360 2/25/2019
2.3.0 1,331 2/22/2019
2.2.1 1,340 2/12/2019
2.2.0 1,399 2/1/2019
2.1.2 1,670 1/14/2019
2.1.0 1,656 12/15/2018
2.0.1 1,433 12/7/2018
2.0.0 1,542 11/28/2018
1.1.0 1,530 9/10/2018
1.0.18 1,399 8/10/2018
1.0.17 1,344 7/30/2018
1.0.16 1,392 6/29/2018
1.0.15 1,422 6/27/2018
1.0.14 1,493 6/8/2018
1.0.13 1,462 6/6/2018
1.0.12 1,579 4/5/2018
1.0.11 1,581 4/4/2018
1.0.10 1,478 3/27/2018
1.0.9 1,447 3/26/2018
1.0.8 1,525 2/7/2018
1.0.7 1,523 1/27/2018
1.0.6 1,516 1/8/2018
1.0.5 1,453 12/28/2017
1.0.4 1,625 12/15/2017
1.0.3 1,548 12/8/2017
1.0.2 1,478 11/30/2017
1.0.1 1,520 11/28/2017

Currently implements:

Functions
AbortSystemShutdownA, AbortSystemShutdownW, AdjustTokenPrivileges, AllocateAndInitializeSid, AllocateLocallyUniqueId, AuthzAccessCheck, AuthzFreeAuditEvent, AuthzFreeContext, AuthzFreeHandle, AuthzFreeResourceManager, AuthzGetInformationFromContext, AuthzInitializeCompoundContext, AuthzInitializeContextFromSid, AuthzInitializeContextFromToken, AuthzInitializeObjectAccessAuditEvent, AuthzInitializeResourceManager, AuthzModifyClaims, AuthzModifySecurityAttributes, AuthzModifySids, ChangeServiceConfig2A, ChangeServiceConfig2W, ChangeServiceConfigA, ChangeServiceConfigW, ConvertSecurityDescriptorToStringSecurityDescriptorA, ConvertSecurityDescriptorToStringSecurityDescriptorW, ConvertSidToStringSidA, ConvertSidToStringSidW, ConvertStringSecurityDescriptorToSecurityDescriptorA, ConvertStringSecurityDescriptorToSecurityDescriptorW, ConvertStringSidToSidA, ConvertStringSidToSidW, CopySid, CredFree, CredGetTargetInfoA, CredGetTargetInfoW, CredReadDomainCredentialsA, CredReadDomainCredentialsW, CredWriteDomainCredentialsA, CredWriteDomainCredentialsW, DuplicateToken, DuplicateTokenEx, EqualSid, FreeInheritedFromArray, FreeSid, GetAce, GetAclInformation, GetEffectiveRightsFromAclA, GetEffectiveRightsFromAclW, GetInheritanceSourceA, GetInheritanceSourceW, GetLengthSid, GetNamedSecurityInfoA, GetNamedSecurityInfoW, GetPrivateObjectSecurity, GetSecurityDescriptorDacl, GetSecurityDescriptorOwner, GetSidSubAuthority, GetTokenInformation, InitiateShutdownA, InitiateShutdownW, InitiateSystemShutdownExA, InitiateSystemShutdownExW, IsValidSid, LogonUserA, LogonUserExA, LogonUserExW, LogonUserW, LookupAccountNameA, LookupAccountNameW, LookupAccountSidA, LookupAccountSidW, LookupPrivilegeNameA, LookupPrivilegeNameW, LookupPrivilegeValueA, LookupPrivilegeValueW, LsaAddAccountRights, LsaConnectUntrusted, LsaCreateAccount, LsaDeregisterLogonProcess, LsaEnumerateAccountRights, LsaEnumerateAccountsWithUserRight, LsaGetAppliedCAPIDs, LsaGetSystemAccessAccount, LsaLookupAuthenticationPackage, LsaLookupNames2, LsaLookupSids2, LsaNtStatusToWinError, LsaOpenAccount, LsaOpenPolicy, LsaRegisterLogonProcess, LsaRemoveAccountRights, LsaSetSystemAccessAccount, MapGenericMask, OpenProcessToken, OpenThreadToken, PrivilegeCheck, QueryServiceConfig2A, QueryServiceConfig2W, QueryServiceConfigA, QueryServiceConfigW, RegCloseKey, RegNotifyChangeKeyValue, RegOpenKeyExA, RegOpenKeyExW, RevertToSelf, SetNamedSecurityInfoA, SetNamedSecurityInfoW, SetThreadToken

Structures
INHERITED_FROM, TRUSTEE, LSA_OBJECT_ATTRIBUTES, LSA_STRING, LSA_TRANSLATED_NAME, LSA_TRANSLATED_SID2, LSA_ENUMERATION_INFORMATION, LSA_REFERENCED_DOMAIN_LIST, LSA_TRUST_INFORMATION, LSA_UNICODE_STRING, CREDENTIAL, CREDENTIAL_TARGET_INFORMATION, ACCESS_ALLOWED_ACE, ACE_HEADER, ACL, ACL_REVISION_INFORMATION, ACL_SIZE_INFORMATION, CLAIM_SECURITY_ATTRIBUTE_INFORMATION_V1, CLAIM_SECURITY_ATTRIBUTES_INFORMATION, GENERIC_MAPPING, LUID, LUID_AND_ATTRIBUTES, QUOTA_LIMITS, SECURITY_DESCRIPTOR, SID_AND_ATTRIBUTES, SID_IDENTIFIER_AUTHORITY, TOKEN_ACCESS_INFORMATION, TOKEN_APPCONTAINER_INFORMATION, TOKEN_DEFAULT_DACL, TOKEN_ELEVATION, TOKEN_GROUPS, TOKEN_GROUPS_AND_PRIVILEGES, TOKEN_MANDATORY_POLICY, TOKEN_MANDATORY_LABEL, TOKEN_LINKED_TOKEN, TOKEN_ORIGIN, TOKEN_OWNER, TOKEN_PRIMARY_GROUP, TOKEN_SOURCE, TOKEN_STATISTICS, TOKEN_USER, PRIVILEGE_SET, PSID_IDENTIFIER_AUTHORITY, PTOKEN_PRIVILEGES, QUERY_SERVICE_CONFIG, SERVICE_DESCRIPTION, AUTHZ_ACCESS_REPLY, AUTHZ_ACCESS_REQUEST, AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE, AUTHZ_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE, AUTHZ_SECURITY_ATTRIBUTE_V1, AUTHZ_SECURITY_ATTRIBUTE_V1_Union