Vanara/PInvoke/Security/pkgreadme.md

22 lines
29 KiB
Markdown
Raw Normal View History

![Vanara](https://github.com/dahall/Vanara/raw/master/docs/icons/VanaraHeading.png)
### Vanara.PInvoke.Security NuGet Package
[![Version](https://img.shields.io/nuget/v/Vanara.PInvoke.Security?label=NuGet&style=flat-square)](https://github.com/dahall/Vanara/releases)
[![Build status](https://img.shields.io/appveyor/build/dahall/vanara?label=AppVeyor%20build&style=flat-square)](https://ci.appveyor.com/project/dahall/vanara)
PInvoke API (methods, structures and constants) imported from Windows AdvApi32.dll, Authz.dll and Secur32.dll.
### What is Vanara?
[Vanara](https://github.com/dahall/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](https://ci.appveyor.com/nuget/vanara-prerelease).
If you're still running into problems, file an [issue](https://github.com/dahall/Vanara/issues).
### Included in Vanara.PInvoke.Security
Functions | Enumerations | Structures
--- | --- | ---
AbortSystemShutdown<br>AcceptSecurityContext<br>AccessCheck<br>AccessCheckAndAuditAlarm<br>AccessCheckByType<br>AccessCheckByTypeAndAuditAlarm<br>AccessCheckByTypeResultList<br>AccessCheckByTypeResultListAndAuditAlarm<br>AccessCheckByTypeResultListAndAuditAlarmByHandle<br>AcquireCredentialsHandle<br>AddAccessAllowedAce<br>AddAccessAllowedAceEx<br>AddAccessAllowedObjectAce<br>AddAccessDeniedAce<br>AddAccessDeniedAceEx<br>AddAccessDeniedObjectAce<br>AddAce<br>AddAuditAccessAce<br>AddAuditAccessAceEx<br>AddAuditAccessObjectAce<br>AddConditionalAce<br>AddMandatoryAce<br>AddResourceAttributeAce<br>AddScopedPolicyIDAce<br>AddSecurityPackage<br>AddUsersToEncryptedFile<br>AdjustTokenGroups<br>AdjustTokenPrivileges<br>AllocateAndInitializeSid<br>AllocateLocallyUniqueId<br>ApplyControlToken<br>AreAllAccessesGranted<br>AreAnyAccessesGranted<br>AuditComputeEffectivePolicyBySid<br>AuditComputeEffectivePolicyByToken<br>AuditEnumerateCategories<br>AuditEnumeratePerUserPolicy<br>AuditEnumerateSubCategories<br>AuditFree<br>AuditLookupCategoryGuidFromCategoryId<br>AuditLookupCategoryIdFromCategoryGuid<br>AuditLookupCategoryName<br>AuditLookupSubCategoryName<br>AuditQueryGlobalSacl<br>AuditQueryPerUserPolicy<br>AuditQuerySecurity<br>AuditQuerySystemPolicy<br>AuditSetGlobalSacl<br>AuditSetPerUserPolicy<br>AuditSetSecurity<br>AuditSetSystemPolicy<br>AuthzAccessCheck<br>AuthzAddSidsToContext<br>AuthzCachedAccessCheck<br>AuthzEnumerateSecurityEventSources<br>AuthzFreeAuditEvent<br>AuthzFreeCentralAccessPolicyCache<br>AuthzFreeContext<br>AuthzFreeHandle<br>AuthzFreeResourceManager<br>AuthzGetInformationFromContext<br>AuthzInitializeCompoundContext<br>AuthzInitializeContextFromAuthzContext<br>AuthzInitializeContextFromSid<br>AuthzInitializeContextFromToken<br>AuthzInitializeObjectAccessAuditEvent<br>AuthzInitializeObjectAccessAuditEvent2<br>AuthzInitializeRemoteResourceManager<br>AuthzInitializeResourceManager<br>AuthzInitializeResourceManagerEx<br>AuthzInstallSecurityEventSource<br>AuthzModifyClaims<br>AuthzModifySecurityAttributes<br>AuthzModifySids<br>AuthzOpenObjectAudit<br>AuthzRegisterCapChangeNotification<br>AuthzRegisterSecurityEventSource<br>AuthzReportSecurityEvent<br>AuthzReportSecurityEventFromParams<br>AuthzSetAppContainerInformation<br>AuthzUninstallSecurityEventSource<br>AuthzUnregisterCapChangeNotification<br>AuthzUnregisterSecurityEventSource<br>BackupEventLog<br>BuildExplicitAccessWithName<br>BuildSecurityDescriptor<br>BuildTrusteeWithName<br>BuildTrusteeWithObjectsAndName<br>BuildTrusteeWithObjectsAndSid<br>BuildTrusteeWithSid<br>ChangeAccountPassword<br>ChangeServiceConfig<br>ChangeServiceConfig2<br>CheckTokenCapability<br>CheckTokenMembership<br>CheckTokenMembershipEx<br>ClearEventLog<br>CloseEncryptedFileRaw<br>CloseEventLog<br>CloseServiceHandle<br>CloseThreadWaitChainSession<br>CloseTrace<br>CompleteAuthToken<br>ControlService<br>ControlServiceEx<br>ControlTrace<br>ConvertSecurityDescriptorToStringSecurityDescriptor<br>ConvertSidToStringSid<br>ConvertStringSecurityDescriptorToSecurityDescriptor<br>ConvertStringSidToSid<br>ConvertToAutoInheritPrivateObjectSecurity<br>CopySid<br>CreatePrivateObjectSecurity<br>CreatePrivateObjectSecurityEx<br>CreatePrivateObjectSecurityWithMultipleInheritance<br>CreateProcessAsUser<br>CreateProcessWithLogonW<br>CreateProcessWithTokenW<br>CreateRestrictedToken<br>CreateService<br>CreateTraceInstanceId<br>CreateWellKnownSid<br>CredDelete<br>CredEnumerate<br>CredFindBestCredential<br>CredFree<br>CredGetSessionTypes<br>CredGetTargetInfo<br>CredIsMarshaledCredential<br>CredIsProtected<br>CredMarshalCredentialA<br>CredMarshalCredentialW<br>CredProtect<br>CredRead<br>CredReadDomainCredentials<br>CredRename<br>CredUnmarshalCredentialA<br>CredUnmarshalCredentialW<br>CredUnprotect<br>CredWrite<br>CredWriteDomainCredentials<br>CryptAcquireContext<br>CryptContextAddRef<br>CryptCreateHash<br>CryptDecrypt<br>CryptDeriveKey<br>CryptDestroyHash<br>CryptDestroyKey<br>CryptDuplicateHash<br>CryptDuplicateKey<br>CryptEncrypt<br>CryptEnumProviders<br>CryptEnumProviderTypes<br>CryptExportKey<br>CryptGenKey<br>Cr