Inside WUA---Introduction

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. 

转载于:https://www.cnblogs.com/diggingdeeply/archive/2010/12/22/Inside_WUA_Introduction.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值