I used to change Fiddler script to add the automatic authentication to make console based applications work with NTLM authentication, however my company has moved from TMG to McAfee Web Gateway and now the code below is not working.
oSession["X-AutoAuth"] = "domain\user:mypass";
CONNECT www.telerik.com:443 HTTP/1.1
Host: www.telerik.com:443
User-Agent: Fiddler/4.6.2.32002 (.NET 4.6.2; WinNT 10.0.14393.0; en-US; 4xAMD64; Auto Update; Full Instance)
Proxy-Authorization: Negotiate TlRMTVNTUAABAAAAl4II4gAAAAAAAAAAAAAAAAAAAAAKADk4AAAADw==
HTTP/1.1 407 authenticationrequired
Via: 1.1 172.99.71.201 (McAfee Web Gateway 7.6.1.1.0.21006)
Date: Fri, 30 Sep 2016 18:11:09 GMT
Content-Type: text/html
Cache-Control: no-cache
Content-Length: 3007
Proxy-Connection: Keep-Alive
Proxy-Authenticate: NTLM
Proxy-Support: Session-Based-Authentication
Can you help me?