zoukankan      html  css  js  c++  java
  • Inside WUAIntroduction

    Words before this article

    Abstract: about WUA

    • What is WUA?
    • How to use WUA?
    • WUA API reference in MSDN

    End


    Words before this article

    I want to write series of articles about my current job.

    Short of time and energy , a little lazy, the idea is surround me last long.Smile

    I finally make my decision today to finish this.

    Please hold on, guys.

    Here I coming soon.


    About WUA

  • What is WUA?

  • Definition from MSDN: Windows Update Agent (WUA) automatically updates itself when it is connected to a Windows Server Update Services (WSUS) server or to Windows Update. WUA can also be manually updated by using a signed installation package that is available from Microsoft.

  • In one word, use WUA you can control the procedure of updates updating your machine.

  • How to use WUA?

  • Because WUA is series of COM interface, so you can use it in many ways.

    1. In C#: you can call these functions directly via tlbImp. Or use class Type, such as Type.GetTypeFromProgID

    2. In PowerShell: New-Object –ComObject ProgId

    3. In C++, you can include <wuapi.dll>, use COM API, CoCreateIntance etc.

  • WUA API reference in MSDN

  • http://msdn.microsoft.com/en-us/library/aa387292(VS.85).aspx


  • End

    I will read the design principle docs and source code to analyze WUA. 

查看全文
  • 相关阅读:
    针对 jQuery Gridly 控件显示多少列的问题。
    网上找的几款拖拽插件
    商品价格加价区间的实现(策略模式)
    【C#】GC和析构函数(Finalize 方法)
    C#微信开发之旅(一):前言
    Opserver配置Redis、SqlServer监控
    线程安全的方式引发事件
    使用SSL的IIS下WCF配置(CSDN手动迁移)
    由于系统缓冲区空间不足或队列已满,不能执行套接字上的操作--解决方法(CSDN手动迁移)
    EF Code First(The model backing the '***' context has changed since the database was created.解决方法)(CSDN手动迁移)
  • 原文地址:https://www.cnblogs.com/diggingdeeply/p/Inside_WUA_Introduction.html
  • Copyright © 2011-2022 走看看