使用C#下载Windows更新

问题描述 投票:8回答:1

有没有办法从C#应用程序中以编程方式下载Windows更新?我想在我的应用程序中管理更新的安装。

c# windows c#-4.0 windows-update
1个回答
6
投票

Windows Update API是documented here。快速stackoverflow搜索使我确信您确实可以使用C#中的COM,因此这可以解决您的问题。

我也有一些sample code,而不是C#,但它可以帮助你了解如何使用接口。

© www.soinside.com 2019 - 2024. All rights reserved.