Skip to main content
.NETFramework4.8.NETCoreApp3.1net5.0net6.0net7.0net8.0-windows7.0

PInvoke API (methods, structures and constants) imported from Windows Update API.

Published
Sep 9, 2025
1y ago
Total Downloads
17.1K
17,125

Install

dotnet add package Vanara.PInvoke.WUApi --version 4.2.1
ProductVersions
.NET
net5.0net6.0net7.0net8.0-windows7.0net9.0-windows7.0
.NET Standard
netstandard2.0netstandard2.1
Other
.NETCoreApp3.1.NETFramework4.8

README

Vanara

Vanara.PInvoke.WUApi NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows Update API.

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.WUApi

Enumerations Interfaces
AddServiceFlag AutoDownloadMode AutomaticUpdatesNotificationLevel AutomaticUpdatesPermissionType AutomaticUpdatesScheduledInstallationDay AutomaticUpdatesUserType AutoSelectionMode DeploymentAction DownloadPhase DownloadPriority InstallationImpact InstallationRebootBehavior OperationResultCode SearchScope ServerSelection UpdateEndpointAuthTokenType UpdateEndpointType UpdateExceptionContext UpdateLockdownOption UpdateOperation UpdateServiceOption UpdateServiceRegistrationState UpdateType WUError IAutomaticUpdates IAutomaticUpdates2 IAutomaticUpdatesResults IAutomaticUpdatesSettings IAutomaticUpdatesSettings2 IAutomaticUpdatesSettings3 ICategory ICategoryCollection IDownloadCompletedCallback IDownloadCompletedCallbackArgs IDownloadJob IDownloadProgress IDownloadProgressChangedCallback IDownloadProgressChangedCallbackArgs IDownloadResult IImageInformation IInstallationAgent IInstallationBehavior IInstallationCompletedCallback IInstallationCompletedCallbackArgs IInstallationJob IInstallationProgress IInstallationProgressChangedCallback IInstallationProgressChangedCallbackArgs IInstallationResult IInvalidProductLicenseException ISearchCompletedCallback ISearchCompletedCallbackArgs ISearchJob ISearchResult IStringCollection ISystemInformation IUpdate IUpdate2 IUpdate3 IUpdate4 IUpdate5 IUpdateCollection IUpdateDownloadContent IUpdateDownloadContent2 IUpdateDownloadContentCollection IUpdateDownloader IUpdateDownloadResult IUpdateException IUpdateExceptionCollection IUpdateHistoryEntry IUpdateHistoryEntry2 IUpdateHistoryEntryCollection IUpdateIdentity IUpdateInstallationResult IUpdateInstaller IUpdateInstaller2 IUpdateInstaller3 IUpdateInstaller4 IUpdateLockdown IUpdateSearcher IUpdateSearcher2 IUpdateSearcher3 IUpdateService IUpdateService2 IUpdateServiceCollection IUpdateServiceManager IUpdateServiceManager2 IUpdateServiceRegistration IUpdateSession IUpdateSession2 IUpdateSession3 IWebProxy IWindowsDriverUpdate IWindowsDriverUpdate2 IWindowsDriverUpdate3 IWindowsDriverUpdate4 IWindowsDriverUpdate5 IWindowsDriverUpdateEntry IWindowsDriverUpdateEntryCollection IWindowsUpdateAgentInfo

Changes from Previous Version

No structural changes between v4.2.0 and v4.2.1.

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 35 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.