VB: Pass current user credentials to proxy server

In a corporate environment its not usual to have to pass through a proxy server to get out to the net, this can often be a challenge when building apps/scripts etc. However – to make things slightly less complicated, you can use the VB snippet below to pass the details of the currently logged on user to the proxy.

You can also adjust the code to pass username and password if you wish, however best make it secure!

Mike Hudson

Mike Hudson is a Infrastructure Analyst living and working in Kingston Upon Hull. With extensive experience in Microsoft and Apple technologies, ranging from desktop OS’s to Server OS’s and hardware. By day working as part of an infrastructure team, and by night ridding the world of IT issues through blog posts..

%d bloggers like this: