Welcome to weblogs.com.pk Sign in | Join | Help

Adnan Siddiqi

Lets get technical

News



  • View Adnan Siddiqi's profile on LinkedIn
Resolving Proxy authentication issue in .NET remoting

If you have ever tried making client server application by using .NET remoting and tested in local lan,you would have faced Proxy Authenticaion error,it happens if your firewall requires authentication,After searching of an hour or so,i found a simple but very effective solution to over come this problem,here is the code,used on client side:

HttpChannel chan=new HttpChannel();

ChannelServices.RegisterChannel(chan);

chan.Properties["proxyName"]=null;

that`s it!,now you will not be asked to authenticate via Proxy

Google Rocks!!

Posted: Tuesday, March 22, 2005 12:07 PM by kadnan
Filed under:

Comments

No Comments

Anonymous comments are disabled