WSUS API&&WUAPI

I downloaded the WSUS API Samples and Tools and I am confused about some
things.  The code in the sample applications relies on adding a reference to
microsoft.updateservices.administration (the .dll with the same name is found
in C:\Program Files\Update Services\service\bin\).  But the Windows Update
API published in the MSDN Library says to use wuapi.dll instead.  Why don't
the WSUS API Samples and Tools use the documentation published in the MSDN
Library?  Is Microsoft.UpdateServices.Administration.IUpdateServer somehow
related to one of the interfaces in the MSDN Library?

Because those two are two very different things. The Windows Update
Agent API is for the Automatic Updates interface (client side), and
have nothing to do with the WSUS API. Another major difference is
that the WSUS API is .Net based, while the Windows Update Agent API
is not.

 

Can you give an example of task that I might want to do which would be made
easier by programming with the Windows Update Agent API (that is published in
the MSDN Library)?

Is there any public documentation describing the WSUS API?  If not, is it in
the works?

 

The documentation for the WSUS API is available at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wus/wus/portal.asp.
This is a .Net API for performing operations on the WSUS Server.

The documentation for the WUA API is available at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wua_sdk/wua/por
tal_client.asp
.
This is a COM API for performing operations on the client.
 

posted @ 2011-08-05 15:17  规格严格-功夫到家  阅读(743)  评论(0编辑  收藏  举报