Vanara.Security
4.0.0-beta2
Prefix Reserved
See the version list below for details.
dotnet add package Vanara.Security --version 4.0.0-beta2
NuGet\Install-Package Vanara.Security -Version 4.0.0-beta2
<PackageReference Include="Vanara.Security" Version="4.0.0-beta2" />
paket add Vanara.Security --version 4.0.0-beta2
#r "nuget: Vanara.Security, 4.0.0-beta2"
// Install Vanara.Security as a Cake Addin #addin nuget:?package=Vanara.Security&version=4.0.0-beta2&prerelease // Install Vanara.Security as a Cake Tool #tool nuget:?package=Vanara.Security&version=4.0.0-beta2&prerelease
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 WindowsLoggedInIdentity | AccountLogonRights DesiredAccess SystemPrivilege |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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. net8.0-windows7.0 is compatible. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | 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 is compatible. 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. |
-
.NETCoreApp 3.1
- System.DirectoryServices (>= 6.0.0)
- Vanara.Core (>= 4.0.0-beta2)
- Vanara.PInvoke.NTDSApi (>= 4.0.0-beta2)
- Vanara.PInvoke.Security (>= 4.0.0-beta2)
- Vanara.PInvoke.Shared (>= 4.0.0-beta2)
-
.NETFramework 4.5
- Vanara.Core (>= 4.0.0-beta2)
- Vanara.PInvoke.NTDSApi (>= 4.0.0-beta2)
- Vanara.PInvoke.Security (>= 4.0.0-beta2)
- Vanara.PInvoke.Shared (>= 4.0.0-beta2)
-
.NETFramework 4.8
- Vanara.Core (>= 4.0.0-beta2)
- Vanara.PInvoke.NTDSApi (>= 4.0.0-beta2)
- Vanara.PInvoke.Security (>= 4.0.0-beta2)
- Vanara.PInvoke.Shared (>= 4.0.0-beta2)
-
.NETStandard 2.0
- System.DirectoryServices (>= 7.0.0)
- Vanara.Core (>= 4.0.0-beta2)
- Vanara.PInvoke.NTDSApi (>= 4.0.0-beta2)
- Vanara.PInvoke.Security (>= 4.0.0-beta2)
- Vanara.PInvoke.Shared (>= 4.0.0-beta2)
-
net6.0
- System.DirectoryServices (>= 7.0.0)
- Vanara.Core (>= 4.0.0-beta2)
- Vanara.PInvoke.NTDSApi (>= 4.0.0-beta2)
- Vanara.PInvoke.Security (>= 4.0.0-beta2)
- Vanara.PInvoke.Shared (>= 4.0.0-beta2)
-
net7.0
- System.DirectoryServices (>= 7.0.0)
- Vanara.Core (>= 4.0.0-beta2)
- Vanara.PInvoke.NTDSApi (>= 4.0.0-beta2)
- Vanara.PInvoke.Security (>= 4.0.0-beta2)
- Vanara.PInvoke.Shared (>= 4.0.0-beta2)
-
net8.0-windows7.0
- System.DirectoryServices (>= 7.0.0)
- Vanara.Core (>= 4.0.0-beta2)
- Vanara.PInvoke.NTDSApi (>= 4.0.0-beta2)
- Vanara.PInvoke.Security (>= 4.0.0-beta2)
- Vanara.PInvoke.Shared (>= 4.0.0-beta2)
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 |
---|---|---|
4.0.4 | 1,049 | 9/13/2024 |
4.0.3 | 393 | 8/5/2024 |
4.0.2 | 501 | 6/24/2024 |
4.0.1 | 789 | 4/30/2024 |
4.0.0 | 319 | 3/29/2024 |
4.0.0-beta2 | 260 | 1/22/2024 |
4.0.0-beta | 276 | 11/20/2023 |
3.4.17 | 1,853 | 10/18/2023 |
3.4.16 | 722 | 8/7/2023 |
3.4.15 | 614 | 5/18/2023 |
3.4.14 | 653 | 4/15/2023 |
3.4.13 | 1,621 | 2/4/2023 |
3.4.12 | 1,108 | 1/15/2023 |
3.4.11 | 1,219 | 11/15/2022 |
3.4.10 | 1,377 | 10/25/2022 |
3.4.9 | 1,282 | 10/3/2022 |
3.4.8 | 1,334 | 9/16/2022 |
3.4.7 | 1,395 | 9/3/2022 |
3.4.6 | 1,471 | 8/7/2022 |
3.4.5 | 6,216 | 7/17/2022 |
3.4.4 | 1,924 | 7/5/2022 |
3.4.3 | 1,496 | 6/14/2022 |
3.4.2 | 1,950 | 5/13/2022 |
3.4.1 | 1,447 | 5/5/2022 |
3.4.0 | 2,712 | 3/14/2022 |
3.3.15 | 5,043 | 12/27/2021 |
3.3.14 | 1,238 | 10/26/2021 |
3.3.13 | 1,051 | 9/30/2021 |
3.3.12 | 1,234 | 8/30/2021 |
3.3.11 | 7,709 | 7/22/2021 |
3.3.10 | 1,117 | 6/4/2021 |
3.3.9 | 1,362 | 5/7/2021 |
3.3.8 | 1,043 | 4/7/2021 |
3.3.7 | 1,014 | 3/24/2021 |
3.3.6 | 993 | 3/19/2021 |
3.3.5 | 1,051 | 3/1/2021 |
3.3.4 | 978 | 2/11/2021 |
3.3.3 | 965 | 2/3/2021 |
3.3.2 | 1,018 | 1/21/2021 |
3.3.1 | 1,091 | 1/20/2021 |
3.3.0 | 1,553 | 11/20/2020 |
3.2.21 | 1,095 | 11/13/2020 |
3.2.20 | 4,020 | 11/8/2020 |
3.2.19 | 7,854 | 10/23/2020 |
3.2.18 | 1,128 | 10/21/2020 |
3.2.17 | 2,671 | 9/20/2020 |
3.2.16 | 1,134 | 9/7/2020 |
3.2.15 | 1,161 | 8/30/2020 |
3.2.14 | 1,149 | 8/20/2020 |
3.2.13 | 1,180 | 7/27/2020 |
3.2.12 | 1,106 | 7/13/2020 |
3.2.11 | 1,202 | 6/28/2020 |
3.2.10 | 1,257 | 6/14/2020 |
3.2.9 | 1,223 | 6/3/2020 |
3.2.7 | 1,233 | 5/4/2020 |
3.2.6 | 1,190 | 4/21/2020 |
3.2.5 | 1,186 | 4/15/2020 |
3.2.4 | 1,165 | 4/12/2020 |
3.2.3 | 1,183 | 4/1/2020 |
3.2.2 | 1,124 | 3/24/2020 |
3.2.1 | 1,143 | 3/17/2020 |
3.2.0 | 1,430 | 2/27/2020 |
3.1.9 | 1,333 | 1/17/2020 |
3.1.8 | 1,225 | 1/13/2020 |
3.1.7 | 1,206 | 1/6/2020 |
3.1.6 | 1,217 | 12/12/2019 |
3.1.5 | 1,351 | 11/26/2019 |
3.1.4 | 1,231 | 11/25/2019 |
3.1.3 | 1,433 | 11/8/2019 |
3.1.2 | 1,225 | 11/4/2019 |
3.1.1 | 1,443 | 10/17/2019 |
3.1.0 | 1,189 | 10/3/2019 |
3.0.1 | 1,105 | 9/20/2019 |
3.0.0 | 1,027 | 8/27/2019 |
2.3.11 | 1,053 | 6/9/2019 |
2.3.10 | 950 | 6/5/2019 |
2.3.9 | 965 | 5/26/2019 |
2.3.8 | 916 | 5/13/2019 |
2.3.7 | 952 | 4/24/2019 |
2.3.6 | 953 | 4/17/2019 |
2.3.5 | 1,049 | 4/10/2019 |
2.3.4 | 983 | 3/9/2019 |
2.3.3 | 963 | 3/8/2019 |
2.3.2 | 950 | 2/28/2019 |
2.3.1 | 917 | 2/25/2019 |
2.3.0 | 946 | 2/22/2019 |
2.2.1 | 928 | 2/12/2019 |
2.2.0 | 979 | 2/1/2019 |
2.1.2 | 1,276 | 1/14/2019 |
2.1.0 | 1,206 | 12/15/2018 |
2.0.1 | 1,009 | 12/7/2018 |
2.0.0 | 1,076 | 11/28/2018 |
1.1.0 | 1,163 | 9/10/2018 |
1.0.18 | 1,180 | 8/10/2018 |
1.0.17 | 1,151 | 7/30/2018 |
1.0.16 | 1,272 | 6/29/2018 |
1.0.15 | 1,142 | 6/27/2018 |
1.0.14 | 1,222 | 6/8/2018 |
1.0.13 | 1,238 | 6/6/2018 |
1.0.12 | 1,326 | 4/5/2018 |
1.0.11 | 1,229 | 4/4/2018 |
1.0.10 | 1,304 | 3/27/2018 |
1.0.9 | 1,243 | 3/26/2018 |
1.0.8 | 1,308 | 2/7/2018 |
1.0.7 | 1,315 | 1/27/2018 |
1.0.6 | 1,307 | 1/8/2018 |
1.0.5 | 1,200 | 12/28/2017 |
1.0.4 | 1,407 | 12/15/2017 |
1.0.3 | 1,270 | 12/8/2017 |
1.0.2 | 1,251 | 11/30/2017 |
1.0.1 | 1,232 | 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, WindowsLoggedInIdentity
Enumerations
AccountLogonRights, DesiredAccess, SystemPrivilege