Install
dotnet add package Vanara.PInvoke.WscApi --version 5.0.0
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
![]()
Vanara.PInvoke.WscApi NuGet Package
PInvoke API (methods, structures and constants) imported from Windows Security Center (WscApi.dll).
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 MyGet build. If you're still running into problems, file an issue.
Included in Vanara.PInvoke.WscApi
| Functions | Enumerations | Interfaces |
|---|---|---|
| WscGetSecurityProviderHealth WscRegisterForChanges WscUnRegisterChanges | SECURITY_PRODUCT_TYPE WSC_SECURITY_PRODUCT_STATE WSC_SECURITY_PRODUCT_SUBSTATUS WSC_SECURITY_SIGNATURE_STATUS WSC_SECURITY_PROVIDER WSC_SECURITY_PROVIDER_HEALTH | IWSCDefaultProduct IWscProduct IWscProduct2 IWscProduct3 IWscProductList |
Changes from Previous Version
v4.2.1v5.0.0
Removed Dependencies
Microsoft.Win32.Registry(net5.0)
System.Security.AccessControl(net5.0)
Microsoft.Win32.Registry(net6.0)
System.Security.AccessControl(net6.0)
Microsoft.Win32.Registry(net7.0)
System.Security.AccessControl(net7.0)
System.ValueTuple(.NETStandard2.0)
Adoption Assessment
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 40 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.