Click here to Skip to main content
15,907,395 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm working on WSUS agent tool that can diag some troubles with client side.

How can I get hresult error code for my requests like wsus agent write into log file like:
2012-04-10    17:42:22:731     976    494    Misc    WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd
Updated 14-May-12 7:16am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900