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
Apr 9, 2026
Latest stable version

Install

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

Frameworks

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

Dependencies

Vanara.Core
.NETFramework4.8
[5.0.3, )
Vanara.PInvoke.NTDSApi
.NETFramework4.8
[5.0.3, )
Vanara.PInvoke.Security
.NETFramework4.8
[5.0.3, )
[5.0.0, )
System.Memory
.NETFramework4.8
[4.6.3, )
Vanara.Core
.NETCoreApp3.1
[5.0.3, )
[5.0.3, )
[5.0.3, )
[6.0.1, )
[5.0.0, )
[5.0.0, )
[6.0.1, )
[6.0.0, )
[5.0.3, )
[5.0.3, )
[5.0.3, )
[5.0.3, )
[5.0.3, )
[5.0.3, )
[5.0.3, )

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 10 target frameworks; confirm the exact target used by your application.

The published metadata declares 56 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.