Vanara.Security
3.4.13
dotnet add package Vanara.Security --version 3.4.13
NuGet\Install-Package Vanara.Security -Version 3.4.13
<PackageReference Include="Vanara.Security" Version="3.4.13" />
paket add Vanara.Security --version 3.4.13
#r "nuget: Vanara.Security, 3.4.13"
// Install Vanara.Security as a Cake Addin
#addin nuget:?package=Vanara.Security&version=3.4.13
// Install Vanara.Security as a Cake Tool
#tool nuget:?package=Vanara.Security&version=3.4.13
Vanara.Security NuGet Package
Classes for security related items derived from the Vanara PInvoke libraries. Includes extension methods for Active Directory and access control classes, methods for working with accounts, UAC, privileges, system access, impersonation and SIDs, and a full LSA wrapper.
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.Security
Classes | Enumerations |
---|---|
AccessControlHelper AccessExtension AccountPrivileges AccountUtils ActiveDirectoryExtension BadValueException CentralAccessPolicy CentralAccessPolicyEntry ClaimValue LogonRights PinnedAcl PinnedSecurityDescriptor PinnedSid PrivilegeAndAttributes PrivilegedCodeBlock PrivilegeExtension SystemAccountInfo SystemSecurity UAC WindowsImpersonatedIdentity WindowsLoggedInIdentity | AccountLogonRights DesiredAccess SystemPrivilege |
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETCoreApp 3.1
- System.DirectoryServices (>= 6.0.0)
- Vanara.Core (>= 3.4.13)
- Vanara.PInvoke.NTDSApi (>= 3.4.13)
- Vanara.PInvoke.Security (>= 3.4.13)
- Vanara.PInvoke.Shared (>= 3.4.13)
-
.NETFramework 4.5
- Vanara.Core (>= 3.4.13)
- Vanara.PInvoke.NTDSApi (>= 3.4.13)
- Vanara.PInvoke.Security (>= 3.4.13)
- Vanara.PInvoke.Shared (>= 3.4.13)
-
.NETFramework 4.8
- Vanara.Core (>= 3.4.13)
- Vanara.PInvoke.NTDSApi (>= 3.4.13)
- Vanara.PInvoke.Security (>= 3.4.13)
- Vanara.PInvoke.Shared (>= 3.4.13)
-
.NETStandard 2.0
- System.DirectoryServices (>= 7.0.0)
- Vanara.Core (>= 3.4.13)
- Vanara.PInvoke.NTDSApi (>= 3.4.13)
- Vanara.PInvoke.Security (>= 3.4.13)
- Vanara.PInvoke.Shared (>= 3.4.13)
-
net6.0
- System.DirectoryServices (>= 7.0.0)
- Vanara.Core (>= 3.4.13)
- Vanara.PInvoke.NTDSApi (>= 3.4.13)
- Vanara.PInvoke.Security (>= 3.4.13)
- Vanara.PInvoke.Shared (>= 3.4.13)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Vanara.Security:
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 (1)
Showing the top 1 popular GitHub repositories that depend on Vanara.Security:
Repository | Stars |
---|---|
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 |
---|---|---|
3.4.13 | 551 | 2/4/2023 |
3.4.12 | 583 | 1/15/2023 |
3.4.11 | 707 | 11/15/2022 |
3.4.10 | 939 | 10/25/2022 |
3.4.9 | 810 | 10/3/2022 |
3.4.8 | 883 | 9/16/2022 |
3.4.7 | 887 | 9/3/2022 |
3.4.6 | 966 | 8/7/2022 |
3.4.5 | 1,723 | 7/17/2022 |
3.4.4 | 1,270 | 7/5/2022 |
3.4.3 | 989 | 6/14/2022 |
3.4.2 | 1,307 | 5/13/2022 |
3.4.1 | 1,009 | 5/5/2022 |
3.4.0 | 1,952 | 3/14/2022 |
3.3.15 | 4,221 | 12/27/2021 |
3.3.14 | 860 | 10/26/2021 |
3.3.13 | 712 | 9/30/2021 |
3.3.12 | 905 | 8/30/2021 |
3.3.11 | 2,914 | 7/22/2021 |
3.3.10 | 818 | 6/4/2021 |
3.3.9 | 1,011 | 5/7/2021 |
3.3.8 | 703 | 4/7/2021 |
3.3.7 | 706 | 3/24/2021 |
3.3.6 | 707 | 3/19/2021 |
3.3.5 | 694 | 3/1/2021 |
3.3.4 | 679 | 2/11/2021 |
3.3.3 | 672 | 2/3/2021 |
3.3.2 | 738 | 1/21/2021 |
3.3.1 | 713 | 1/20/2021 |
3.3.0 | 1,152 | 11/20/2020 |
3.2.21 | 767 | 11/13/2020 |
3.2.20 | 3,675 | 11/8/2020 |
3.2.19 | 7,543 | 10/23/2020 |
3.2.18 | 778 | 10/21/2020 |
3.2.17 | 2,339 | 9/20/2020 |
3.2.16 | 812 | 9/7/2020 |
3.2.15 | 832 | 8/30/2020 |
3.2.14 | 800 | 8/20/2020 |
3.2.13 | 867 | 7/27/2020 |
3.2.12 | 809 | 7/13/2020 |
3.2.11 | 869 | 6/28/2020 |
3.2.10 | 883 | 6/14/2020 |
3.2.9 | 852 | 6/3/2020 |
3.2.7 | 853 | 5/4/2020 |
3.2.6 | 881 | 4/21/2020 |
3.2.5 | 842 | 4/15/2020 |
3.2.4 | 857 | 4/12/2020 |
3.2.3 | 874 | 4/1/2020 |
3.2.2 | 807 | 3/24/2020 |
3.2.1 | 796 | 3/17/2020 |
3.2.0 | 1,065 | 2/27/2020 |
3.1.9 | 1,018 | 1/17/2020 |
3.1.8 | 881 | 1/13/2020 |
3.1.7 | 862 | 1/6/2020 |
3.1.6 | 907 | 12/12/2019 |
3.1.5 | 1,011 | 11/26/2019 |
3.1.4 | 876 | 11/25/2019 |
3.1.3 | 1,040 | 11/8/2019 |
3.1.2 | 855 | 11/4/2019 |
3.1.1 | 1,123 | 10/17/2019 |
3.1.0 | 832 | 10/3/2019 |
3.0.1 | 820 | 9/20/2019 |
3.0.0 | 777 | 8/27/2019 |
2.3.11 | 775 | 6/9/2019 |
2.3.10 | 726 | 6/5/2019 |
2.3.9 | 717 | 5/26/2019 |
2.3.8 | 717 | 5/13/2019 |
2.3.7 | 727 | 4/24/2019 |
2.3.6 | 700 | 4/17/2019 |
2.3.5 | 806 | 4/10/2019 |
2.3.4 | 755 | 3/9/2019 |
2.3.3 | 708 | 3/8/2019 |
2.3.2 | 704 | 2/28/2019 |
2.3.1 | 691 | 2/25/2019 |
2.3.0 | 706 | 2/22/2019 |
2.2.1 | 714 | 2/12/2019 |
2.2.0 | 748 | 2/1/2019 |
2.1.2 | 1,020 | 1/14/2019 |
2.1.0 | 957 | 12/15/2018 |
2.0.1 | 769 | 12/7/2018 |
2.0.0 | 824 | 11/28/2018 |
1.1.0 | 880 | 9/10/2018 |
1.0.18 | 937 | 8/10/2018 |
1.0.17 | 920 | 7/30/2018 |
1.0.16 | 998 | 6/29/2018 |
1.0.15 | 921 | 6/27/2018 |
1.0.14 | 993 | 6/8/2018 |
1.0.13 | 972 | 6/6/2018 |
1.0.12 | 1,067 | 4/5/2018 |
1.0.11 | 973 | 4/4/2018 |
1.0.10 | 1,050 | 3/27/2018 |
1.0.9 | 994 | 3/26/2018 |
1.0.8 | 1,096 | 2/7/2018 |
1.0.7 | 1,049 | 1/27/2018 |
1.0.6 | 1,093 | 1/8/2018 |
1.0.5 | 962 | 12/28/2017 |
1.0.4 | 1,128 | 12/15/2017 |
1.0.3 | 1,017 | 12/8/2017 |
1.0.2 | 984 | 11/30/2017 |
1.0.1 | 973 | 11/28/2017 |
Currently implements:
Classes
AccessControlHelper, AccessExtension, AccountPrivileges, AccountUtils, ActiveDirectoryExtension, BadValueException, CentralAccessPolicy, CentralAccessPolicyEntry, ClaimValue, LogonRights, PinnedAcl, PinnedSecurityDescriptor, PinnedSid, PrivilegeAndAttributes, PrivilegedCodeBlock, PrivilegeExtension, SystemAccountInfo, SystemSecurity, UAC, WindowsImpersonatedIdentity, WindowsLoggedInIdentity
Enumerations
AccountLogonRights, DesiredAccess, SystemPrivilege