In my job, we use ZSCALER as proxy and we set at browser at Address "http://pac.zscloud.net/....."
In my app I use the code bellow, but it isn't working.
Is possible get the automatic set from my browser? or as can I to do it to work?
--- Code ---
Dim proxyHost as string
Dim proxyPort as int
Dim proxyUser as string
Dim proxyPassword as string
proxyHost = ?????
proxyPort = 80
proxyUser = myUser
proxyPassword = myPassword
Dim factory As New ProxyFactory()
Dim proxy As IProxyClient = factory.CreateProxy(ProxyType.Http, proxyHost, proxyPort, proxyUser, proxyPassword)
Dim socket As Socket = proxy.Connect(_imapHost, Imap.DefaultSSLPort)
---- end code ----