Vanara.PInvoke.Security 2.3.2

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 2.3.2                
NuGet\Install-Package Vanara.PInvoke.Security -Version 2.3.2                
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="2.3.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.Security --version 2.3.2                
#r "nuget: Vanara.PInvoke.Security, 2.3.2"                
#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=2.3.2

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

PInvoke API (methods, structures and constants) imported from Windows 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 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 (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,776 9/13/2024
4.0.3 23,236 8/5/2024
4.0.2 5,106 6/24/2024
4.0.1 24,988 4/30/2024
4.0.0 4,836 3/29/2024
4.0.0-beta2 1,459 1/22/2024
4.0.0-beta 1,655 11/20/2023
3.4.17 31,632 10/18/2023
3.4.16 25,909 8/7/2023
3.4.15 82,255 5/18/2023
3.4.14 21,253 4/15/2023
3.4.13 13,763 2/4/2023
3.4.12 10,096 1/15/2023
3.4.11 42,585 11/15/2022
3.4.10 12,782 10/25/2022
3.4.9 10,673 10/3/2022
3.4.8 13,204 9/16/2022
3.4.7 10,001 9/3/2022
3.4.6 11,200 8/7/2022
3.4.5 17,601 7/17/2022
3.4.4 10,325 7/5/2022
3.4.3 10,090 6/14/2022
3.4.2 12,847 5/13/2022
3.4.1 9,695 5/5/2022
3.4.0 14,983 3/14/2022
3.3.15 45,500 12/27/2021
3.3.14 10,701 10/26/2021
3.3.13 16,964 9/30/2021
3.3.12 6,941 8/30/2021
3.3.11 15,622 7/22/2021
3.3.10 10,998 6/4/2021
3.3.9 8,504 5/7/2021
3.3.8 6,687 4/7/2021
3.3.7 6,808 3/24/2021
3.3.6 5,313 3/19/2021
3.3.5 6,313 3/1/2021
3.3.4 7,988 2/11/2021
3.3.3 4,938 2/3/2021
3.3.2 4,957 1/21/2021
3.3.1 4,626 1/20/2021
3.3.0 8,340 11/20/2020
3.2.21 4,615 11/13/2020
3.2.20 7,471 11/8/2020
3.2.19 12,865 10/23/2020
3.2.18 4,394 10/21/2020
3.2.17 7,067 9/20/2020
3.2.16 4,773 9/7/2020
3.2.15 4,748 8/30/2020
3.2.14 4,382 8/20/2020
3.2.13 5,269 7/27/2020
3.2.12 4,654 7/13/2020
3.2.11 5,492 6/28/2020
3.2.10 4,731 6/14/2020
3.2.9 4,729 6/3/2020
3.2.7 7,620 5/4/2020
3.2.6 4,609 4/21/2020
3.2.5 4,318 4/15/2020
3.2.4 4,303 4/12/2020
3.2.3 4,423 4/1/2020
3.2.2 4,213 3/24/2020
3.2.1 4,402 3/17/2020
3.2.0 4,559 2/27/2020
3.1.9 4,608 1/17/2020
3.1.8 4,376 1/13/2020
3.1.7 4,005 1/6/2020
3.1.6 3,780 12/12/2019
3.1.5 3,890 11/26/2019
3.1.4 3,889 11/25/2019
3.1.3 3,949 11/8/2019
3.1.2 3,629 11/4/2019
3.1.1 5,038 10/17/2019
3.1.0 3,492 10/3/2019
3.0.1 3,285 9/20/2019
3.0.0 2,927 8/27/2019
2.3.11 2,056 6/9/2019
2.3.10 1,411 6/5/2019
2.3.9 1,404 5/26/2019
2.3.8 1,378 5/13/2019
2.3.7 1,426 4/24/2019
2.3.6 1,406 4/17/2019
2.3.5 1,471 4/10/2019
2.3.4 1,447 3/9/2019
2.3.3 1,345 3/8/2019
2.3.2 1,405 2/28/2019
2.3.1 1,363 2/25/2019
2.3.0 1,334 2/22/2019
2.2.1 1,343 2/12/2019
2.2.0 1,402 2/1/2019
2.1.2 1,673 1/14/2019
2.1.0 1,659 12/15/2018
2.0.1 1,436 12/7/2018
2.0.0 1,545 11/28/2018
1.1.0 1,533 9/10/2018
1.0.18 1,402 8/10/2018
1.0.17 1,347 7/30/2018
1.0.16 1,395 6/29/2018
1.0.15 1,425 6/27/2018
1.0.14 1,496 6/8/2018
1.0.13 1,465 6/6/2018
1.0.12 1,582 4/5/2018
1.0.11 1,584 4/4/2018
1.0.10 1,481 3/27/2018
1.0.9 1,450 3/26/2018
1.0.8 1,528 2/7/2018
1.0.7 1,526 1/27/2018
1.0.6 1,519 1/8/2018
1.0.5 1,456 12/28/2017
1.0.4 1,628 12/15/2017
1.0.3 1,551 12/8/2017
1.0.2 1,481 11/30/2017
1.0.1 1,523 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, BuildExplicitAccessWithNameA, BuildExplicitAccessWithNameW, BuildSecurityDescriptorA, BuildSecurityDescriptorW, BuildTrusteeWithNameA, BuildTrusteeWithNameW, BuildTrusteeWithObjectsAndNameA, BuildTrusteeWithObjectsAndNameW, BuildTrusteeWithObjectsAndSidA, BuildTrusteeWithObjectsAndSidW, BuildTrusteeWithSidA, BuildTrusteeWithSidW, ChangeServiceConfig2A, ChangeServiceConfig2W, ChangeServiceConfigA, ChangeServiceConfigW, CloseServiceHandle, ControlService, ControlServiceExA, ControlServiceExW, ConvertSecurityDescriptorToStringSecurityDescriptorA, ConvertSecurityDescriptorToStringSecurityDescriptorW, ConvertSidToStringSidA, ConvertSidToStringSidW, ConvertStringSecurityDescriptorToSecurityDescriptorA, ConvertStringSecurityDescriptorToSecurityDescriptorW, ConvertStringSidToSidA, ConvertStringSidToSidW, CopySid, CreateServiceA, CreateServiceW, CredDeleteA, CredDeleteW, CredEnumerateA, CredEnumerateW, CredFindBestCredentialA, CredFindBestCredentialW, CredFree, CredGetSessionTypes, CredGetTargetInfoA, CredGetTargetInfoW, CredIsMarshaledCredentialA, CredIsMarshaledCredentialW, CredIsProtectedA, CredIsProtectedW, CredMarshalCredentialA, CredMarshalCredentialW, CredProtectA, CredProtectW, CredReadA, CredReadDomainCredentialsA, CredReadDomainCredentialsW, CredReadW, CredRenameA, CredRenameW, CredUnmarshalCredentialA, CredUnmarshalCredentialW, CredUnprotectA, CredUnprotectW, CredWriteA, CredWriteDomainCredentialsA, CredWriteDomainCredentialsW, CredWriteW, DeleteService, DeregisterEventSource, DuplicateToken, DuplicateTokenEx, EqualSid, FreeInheritedFromArray, FreeSid, GetAce, GetAclInformation, GetAuditedPermissionsFromAclA, GetAuditedPermissionsFromAclW, GetEffectiveRightsFromAclA, GetEffectiveRightsFromAclW, GetExplicitEntriesFromAclA, GetExplicitEntriesFromAclW, GetInheritanceSourceA, GetInheritanceSourceW, GetLengthSid, GetNamedSecurityInfoA, GetNamedSecurityInfoW, GetPrivateObjectSecurity, GetSecurityDescriptorControl, GetSecurityDescriptorDacl, GetSecurityDescriptorGroup, GetSecurityDescriptorLength, GetSecurityDescriptorOwner, GetSecurityDescriptorSacl, GetSecurityInfo, GetSidIdentifierAuthority, GetSidLengthRequired, GetSidSubAuthority, GetTokenInformation, GetTrusteeFormA, GetTrusteeFormW, GetTrusteeNameA, GetTrusteeNameW, GetTrusteeTypeA, GetTrusteeTypeW, ImpersonateLoggedOnUser, ImpersonateNamedPipeClient, InitiateShutdownA, InitiateShutdownW, InitiateSystemShutdownA, InitiateSystemShutdownExA, InitiateSystemShutdownExW, InitiateSystemShutdownW, IsValidSid, LogonUserA, LogonUserExA, LogonUserExW, LogonUserW, LookupAccountNameA, LookupAccountNameW, LookupAccountSidA, LookupAccountSidW, LookupPrivilegeDisplayNameA, LookupPrivilegeDisplayNameW, LookupPrivilegeNameA, LookupPrivilegeNameW, LookupPrivilegeValueA, LookupPrivilegeValueW, LookupSecurityDescriptorPartsA, LookupSecurityDescriptorPartsW, LsaAddAccountRights, LsaClose, LsaConnectUntrusted, LsaCreateAccount, LsaDeregisterLogonProcess, LsaEnumerateAccountRights, LsaEnumerateAccountsWithUserRight, LsaFreeMemory, LsaFreeReturnBuffer, LsaGetAppliedCAPIDs, LsaGetSystemAccessAccount, LsaLookupAuthenticationPackage, LsaLookupNames2, LsaLookupPrivilegeValue, LsaLookupSids2, LsaNtStatusToWinError, LsaOpenAccount, LsaOpenPolicy, LsaQueryCAPs, LsaQueryTrustedDomainInfo, LsaRegisterLogonProcess, LsaRemoveAccountRights, LsaSetSystemAccessAccount, LsaSetTrustedDomainInformation, MapGenericMask, OpenProcessToken, OpenSCManagerA, OpenSCManagerW, OpenServiceA, OpenServiceW, OpenThreadToken, PrivilegeCheck, QueryServiceConfig2A, QueryServiceConfig2W, QueryServiceConfigA, QueryServiceConfigW, QueryServiceStatusEx, RegCloseKey, RegConnectRegistryA, RegConnectRegistryW, RegCopyTreeA, RegCopyTreeW, RegCreateKeyA, RegCreateKeyExA, RegCreateKeyExW, RegCreateKeyTransactedA, RegCreateKeyTransactedW, RegCreateKeyW, RegDeleteKeyA, RegDeleteKeyExA, RegDeleteKeyExW, RegDeleteKeyTransactedA, RegDeleteKeyTransactedW, RegDeleteKeyValueA, RegDeleteKeyValueW, RegDeleteKeyW, RegDeleteTreeA, RegDeleteTreeW, RegDeleteValueA, RegDeleteValueW, RegDisablePredefinedCache, RegDisablePredefinedCacheEx, RegDisableReflectionKey, RegEnableReflectionKey, RegEnumKeyA, RegEnumKeyExA, RegEnumKeyExW, RegEnumKeyW, RegEnumValueA, RegEnumValueW, RegFlushKey, RegGetKeySecurity, RegGetValueA, RegGetValueW, RegisterEventSourceA, RegisterEventSourceW, RegisterServiceCtrlHandlerA, RegisterServiceCtrlHandlerExA, RegisterServiceCtrlHandlerExW, RegisterServiceCtrlHandlerW, RegLoadAppKeyA, RegLoadAppKeyW, RegLoadKeyA, RegLoadKeyW, RegLoadMUIStringA, RegLoadMUIStringW, RegNotifyChangeKeyValue, RegOpenCurrentUser, RegOpenKeyA, RegOpenKeyExA, RegOpenKeyExW, RegOpenKeyTransactedA, RegOpenKeyTransactedW, RegOpenKeyW, RegOpenUserClassesRoot, RegOverridePredefKey, RegQueryInfoKeyA, RegQueryInfoKeyW, RegQueryMultipleValuesA, RegQueryMultipleValuesW, RegQueryReflectionKey, RegQueryValueA, RegQueryValueExA, RegQueryValueExW, RegQueryValueW, RegReplaceKeyA, RegReplaceKeyW, RegRestoreKeyA, RegRestoreKeyW, RegSaveKeyA, RegSaveKeyExA, RegSaveKeyExW, RegSaveKeyW, RegSetKeySecurity, RegSetKeyValueA, RegSetKeyValueW, RegSetValueA, RegSetValueExA, RegSetValueExW, RegSetValueW, RegUnLoadKeyA, RegUnLoadKeyW, RevertToSelf, SetEntriesInAclA, SetEntriesInAclW, SetNamedSecurityInfoA, SetNamedSecurityInfoW, SetSecurityInfo, SetServiceStatus, SetThreadToken, SspiCompareAuthIdentities, SspiCopyAuthIdentity, SspiDecryptAuthIdentity, SspiEncodeAuthIdentityAsStringsA, SspiEncodeAuthIdentityAsStringsW, SspiEncodeStringsAsAuthIdentity, SspiEncryptAuthIdentity, SspiExcludePackage, SspiFreeAuthIdentity, SspiGetTargetHostName, SspiIsAuthIdentityEncrypted, SspiLocalFree, SspiMarshalAuthIdentity, SspiPrepareForCredRead, SspiPrepareForCredWrite, SspiUnmarshalAuthIdentity, SspiValidateAuthIdentity, SspiZeroAuthIdentity, StartServiceA, StartServiceW, TreeResetNamedSecurityInfoA, TreeResetNamedSecurityInfoW, TreeSetNamedSecurityInfoA, TreeSetNamedSecurityInfoW

Structures
ACTRL_ACCESS_ENTRY, ACTRL_ACCESS_ENTRY_LIST, ACTRL_ALIST, ACTRL_PROPERTY_ENTRY, EXPLICIT_ACCESS, INHERITED_FROM, OBJECTS_AND_NAME, OBJECTS_AND_SID, TRUSTEE, LSA_OBJECT_ATTRIBUTES, LSA_STRING, LSA_TRANSLATED_NAME, LSA_TRANSLATED_SID2, CENTRAL_ACCESS_POLICY, CENTRAL_ACCESS_POLICY_ENTRY, LSA_AUTH_INFORMATION, LSA_ENUMERATION_INFORMATION, LSA_FOREST_TRUST_BINARY_DATA, LSA_FOREST_TRUST_DOMAIN_INFO, LSA_FOREST_TRUST_INFORMATION, LSA_HANDLE, LSA_REFERENCED_DOMAIN_LIST, LSA_TRUST_INFORMATION, LSA_UNICODE_STRING, TRUSTED_DOMAIN_AUTH_INFORMATION, TRUSTED_DOMAIN_FULL_INFORMATION, TRUSTED_DOMAIN_INFORMATION_EX, TRUSTED_DOMAIN_NAME_INFO, TRUSTED_PASSWORD_INFO, TRUSTED_POSIX_OFFSET_INFO, HEVENTLOG, BINARY_BLOB_CREDENTIAL_INFO, CERT_CREDENTIAL_INFO, CREDENTIAL, CREDENTIAL_TARGET_INFORMATION, USERNAME_TARGET_CREDENTIAL_INFO, 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_LINKED_TOKEN, TOKEN_MANDATORY_LABEL, TOKEN_MANDATORY_POLICY, TOKEN_ORIGIN, TOKEN_OWNER, TOKEN_PRIMARY_GROUP, TOKEN_SOURCE, TOKEN_STATISTICS, TOKEN_USER, PRIVILEGE_SET, PSID_IDENTIFIER_AUTHORITY, PTOKEN_PRIVILEGES, VALENT, QUERY_SERVICE_CONFIG, SC_ACTION, SC_HANDLE, SERVICE_CONTROL_STATUS_REASON_PARAMS, SERVICE_DELAYED_AUTO_START_INFO, SERVICE_DESCRIPTION, SERVICE_FAILURE_ACTIONS, SERVICE_FAILURE_ACTIONS_FLAG, SERVICE_LAUNCH_PROTECTED_INFO, SERVICE_PREFERRED_NODE_INFO, SERVICE_PRESHUTDOWN_INFO, SERVICE_REQUIRED_PRIVILEGES_INFO, SERVICE_SID_INFO, SERVICE_STATUS, SERVICE_STATUS_HANDLE, SERVICE_STATUS_PROCESS, SERVICE_TRIGGER, SERVICE_TRIGGER_INFO, SERVICE_TRIGGER_SPECIFIC_DATA_ITEM, AUTHZ_ACCESS_CHECK_RESULTS_HANDLE, AUTHZ_ACCESS_REQUEST, AUTHZ_AUDIT_EVENT_HANDLE, AUTHZ_CLIENT_CONTEXT_HANDLE, AUTHZ_RESOURCE_MANAGER_HANDLE, AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE, AUTHZ_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE, AUTHZ_SECURITY_ATTRIBUTE_V1, AUTHZ_ACCESS_REPLY, LsaConnectionHandle, PSEC_WINNT_AUTH_IDENTITY_OPAQUE, AUTHZ_SECURITY_ATTRIBUTE_V1_Union