https://github.com/jamiemagee/microsoftsecurityupdates
MSRC API client for .NET
https://github.com/jamiemagee/microsoftsecurityupdates
cve cvrf kb msrc
Last synced: 17 days ago
JSON representation
MSRC API client for .NET
- Host: GitHub
- URL: https://github.com/jamiemagee/microsoftsecurityupdates
- Owner: JamieMagee
- License: mit
- Created: 2023-01-31T05:51:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T03:05:11.000Z (12 months ago)
- Last Synced: 2024-05-21T04:24:01.651Z (12 months ago)
- Topics: cve, cvrf, kb, msrc
- Language: C#
- Homepage:
- Size: 132 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Microsoft Security Updates Client
[](https://github.com/JamieMagee/MicrosoftSecurityUpdates/actions/workflows/build.yml?query=branch%3Amain)
[](https://www.nuget.org/packages/JamieMagee.MicrosoftSecurityUpdates.Client/)
[](https://www.nuget.org/packages/JamieMagee.MicrosoftSecurityUpdates.Client/)
[](https://github.com/JamieMagee/MicrosoftSecurityUpdates/blob/main/LICENSE.md)An unofficial .NET API client for the [MSRC CVRF API][1]
## Usage
1. `dotnet add package JamieMagee.MicrosoftSecurityUpdates.Client`
2. Create an instance of `MicrosoftSecurityUpdatesClient`:```csharp
using var client = new MicrosoftSecurityUpdatesClient();
```3. Use the client to get information about security updates:
```csharp
// 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](https://opensource.org/licenses/MIT).
[1]: https://api.msrc.microsoft.com/cvrf/v2.0/swagger/index