Search code examples
c#.netcom

How to use IWindowsUpdateAgentInfo::GetInfo Method


How do I use the IWindowsUpdateAgentInfo::GetInfo Method

I have referenced the WUApiLib but I cant find this interface anywhere.


Solution

  • WindowsUpdateAgentInfoClass WUAInfo = new WindowsUpdateAgentInfoClass();
    (int)WUAInfo.GetInfo("ApiMajorVersion");