I have a windows service that uses the LocalAdmin account for authentication. It generates HTTPS (SSL) requests every 24 hours to verify/validate license information.
It currently uses INTERNET_OPEN_TYPE_DIRECT for its queries:
InternetOpen("AppName Here", INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
This works fine for users with firewalls, but does not work for companies that use proxy type firewalls.
So there's really two questions that need to be answered:
1) What AccessType should be used in the InternetOpen function call so it will work with proxy firewalls?
2) Will this AccessType work for a service that runs in the background (no user context or HKEY_CURRENT_USER registry entries for proxy information).