virusdefender / update-server-server-sync

Sample implementation of the "Windows Update Services: Server-Server" protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows Update Services ServerServer Sync Protocol

Provide a C# implementation (.NET Core) of the Microsoft Update Server-Server sync protocol, both client and server.

Use this library to

  • programmatically browse the Microsoft Update catalog
  • sync updates locally and run advanced queries on update metadata
  • export updates to WSUS
  • run an upstream update server in ASP.NET Core and serve updates to downstream WSUS servers

Reference the library in your project

The easiest way is to use the published NuGet package. In your .NET Core project, add a reference to the UpdateServices.ServerServerSync NuGet package. Make sure to check "Include prerelease" if searching for the NuGet package in Visual Studio.

Alternatively, you can compile the code yourself. Visual Studio 2017 with .Net Core development tools is required to build the solution provided at build\server-server-update-sync.sln

Use the library

Please refer to the API documentation for help on using the library.

Get started with the updates sync client

Get started with the updates sync server

Code Examples

Use the upsync utility

The upsync command line utility is provided as a sample for using the library. Upsync can be used to browse Microsoft's update catalog, sync updates and export updates to a WSUS server.

You can build upsync in Visual Studio; it builds from the same solution as the library.

Or download and unzip upsync from https://github.com/microsoft/update-server-server-sync/releases

See upsync command line options reference

See upsync examples

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

About

Sample implementation of the "Windows Update Services: Server-Server" protocol.

License:MIT License


Languages

Language:C# 100.0%