Microsoft.UpdateServices
Overview
This library provides:
- C# implementation (.NET Core) of the Microsoft Update Server-Server sync protocol, for both the client and server roles.
- C# implementation (.NET Core) of the server side of the Microsoft Update Client-Server sync protocol (MUv6)
- An object model for updates in the Microsoft Update Catalog
Use cases for this library
Retrieve and inspect update metadata from the Microsoft Update Catalog
Use the update source interfaces, UpstreamCategoriesSource and UpstreamUpdatesSource, to retrieve updates from Microsoft Update Catalog (or upstream WSUS server), then use the provided object model to inspect the metadata.
Optionally, you can use a IMetadataStore to store update metadata locally. This enables incremental update synchronization with the upstream server and indexed fast queries on update metadata.
Serve updates to downstream WSUS servers or Windows Update clients
Use UpstreamServerStartup in a ASP.NETCore web app to serve updates to other downstream WSUS servers.
Use UpdateServerStartup in a ASP.NETCore web app to serve Windows Update clients over the MUv6 protocol.
First retrieve updates from the Microsoft Update Catalog (or other upstream servers) and store them in a IMetadataStore,
Customize the update metadata storage
Implement custom IMetadataStore, IMetadataSink or IMetadataSource for specialized storage of update metadata.
Additional resources
See MS-WSUSSS for the complete technical documentation of the protocol.
See Windows Server Update Server for an introduction to WSUS.