How to change the request IP in HttpWebRequest?

Posted by holiveira on Stack Overflow See other posts from Stack Overflow or by holiveira
Published on 2010-05-13T18:20:39Z Indexed on 2010/05/13 18:24 UTC
Read the original article Hit count: 253

Filed under:
|
|

I'm developing a website that will connect to a credit card processing gateway webservice. For security purposes this webservice accepts requests only from IP addresses that were previously informed to them.

Since I'm developing locally, my IP changes almost every day. Is there a way for me to change the IP address of a HttpWebRequest so that I can test the Webservice calls locally?

This webservice is accessed through a https address and the methods must be sent via POST.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET