在 windows 10 中,是否可以从 .net 应用程序 运行 windows 更新程序?

in windows 10, is it possible to run windows updater from a .net application?

我正在尝试以编程方式找到一种方法来自动安装 Windows 上缺少的 windows 更新 10。如果您能为我指明正确的方向或在 vb.net,那就太好了。

Background, can skip:

I have a windows application that interfaces with some RNDIS/Ethernet Gadget hardware. The problem is when people started upgrading to windows 10. There is a bug in windows 10 that does not properly install the RNDIS/Ethernet Gadget driver. driver won't install until a more recent windows update is installed.

    Dim WindowsUpdaterSession As New AutomaticUpdates

    Try
    WindowsUpdaterSession.DetectNow()
        'worked
    Catch ex As Exception
        'didnt work
    End Try