Skip to content

JamieMagee/MicrosoftSecurityUpdates

Repository files navigation

Microsoft Security Updates Client

GitHub Workflow Status NuGet Package Version NuGet Package Downloads MIT License

An unofficial .NET API client for the MSRC CVRF API

Usage

  1. dotnet add package JamieMagee.MicrosoftSecurityUpdates.Client
  2. Create an instance of MicrosoftSecurityUpdatesClient:
using var client = new MicrosoftSecurityUpdatesClient();
  1. Use the client to get information about security updates:
// Get all updates
var updates = await client.GetUpdatesAsync();
// Get all updates by year or month
var updates2022 = await client.GetUpdatesAsync("2022");
var updates2022Dec = await client.GetUpdatesAsync("2022-Dec");
// Get CVRF by month
var cvrf2022Dec = await client.GetCvrfByIdAsync("2022-Dec");

License

All packages in this repository are licensed under the MIT license.