Proxies in TurboActivate
By default, TurboActivate uses whatever proxies your users have set for their system. Where TurboActivate reads these proxy settings from differs between operating systems:
- Windows: The proxy settings are read from Internet Explorer.
- Mac OS X: The proxy settings are read from the system internet settings.
- Linux / BSD / Solaris: The proxy settings are read from the environment variables
http_proxyorall_proxy.
Custom proxy settings
You can overwrite the default system proxy settings both in API and the TurboActivate Wizard. When using custom proxies within TurboActivate they must be in the form Proxy in the form: http://username:password@host:port/
- Example 1 (just a host):
http://127.0.0.1/ - Example 2 (host and port):
http://127.0.0.1:8080/ - Example 3 (all 3):
http://user:pass@127.0.0.1:8080/
Note: If the port is not specified, TurboActivate will default to using port 1080 for proxies.
TurboActivate API
To override the default system proxies within the TurboActivate API, simply call the SetCustomProxy() function while passing in the proxy string as a parameter.
- To clear a previously set custom proxy simply pass in a
nullvalue (orNULL,nil, orNothingdepending on your programming language). - To bypass the system proxies pass in an empty string value.
This should go without saying, but if you're specifying a custom proxy you should call SetCustomProxy() before using any other function (especially ones that require internet connectivity, e.g. IsGenuine(), Activate(), etc.)
TurboActivate Wizard
You can pass custom proxy settings to the TurboActivate Wizard using the commandline. For example:
TurboActivate.exe --proxy="http://username:password@host:port/"
NTLM Proxies
TurboActivate also support NTLM proxies on Windows. To use NTLM proxies you must also specify the domain. For example:
http://DOMAIN\username:password@host:port/