Skip to main content
Vanara.Security package icon

Vanara.Security

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.

Total Downloads
256.6K
256,627
Published
Jun 7, 2025
Latest stable version

Install

.NET CLI
dotnet add package Vanara.Security --version 4.1.4
Package Manager Console
Install-Package Vanara.Security -Version 4.1.4
PackageReference
<PackageReference Include="Vanara.Security" Version="4.1.4" />

Frameworks

.NETFramework4.8 .NETCoreApp3.1 net5.0 net6.0 net7.0 net8.0-windows7.0 net9.0-windows7.0 .NETStandard2.0 .NETStandard2.1

Dependencies

Vanara.PInvoke.NTDSApi
.NETFramework4.8
[4.1.4, )
Vanara.PInvoke.Security
.NETFramework4.8
[4.1.4, )
[4.1.4, )
[4.1.4, )
[6.0.1, )
[4.1.4, )
[4.1.4, )
[4.1.4, )
[4.1.4, )
[4.1.4, )
[4.1.4, )
Vanara.PInvoke.NTDSApi
net8.0-windows7.0
[4.1.4, )
Vanara.PInvoke.Security
net8.0-windows7.0
[4.1.4, )
System.DirectoryServices
net8.0-windows7.0
[8.0.0, )
Vanara.PInvoke.NTDSApi
net9.0-windows7.0
[4.1.4, )
Vanara.PInvoke.Security
net9.0-windows7.0
[4.1.4, )
System.DirectoryServices
net9.0-windows7.0
[8.0.0, )
Vanara.PInvoke.NTDSApi
.NETStandard2.0
[4.1.4, )
[4.1.4, )
[8.0.0, )
Vanara.PInvoke.NTDSApi
.NETStandard2.1
[4.1.4, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 9 target frameworks; confirm the exact target used by your application.

The published metadata declares 26 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.