C# How to spoof IP address for WebRequest

前端 未结 6 1572
小蘑菇
小蘑菇 2020-12-14 10:28

I have asp.net website hosted and I am making WebRequest to post data and get response. The website is having IP filtering. I want to spoof sender IP address for testing pur

6条回答
  •  猫巷女王i
    2020-12-14 10:48

    If you're expecting to get a response, then no. Without the correct IP address, the server won't send the response to the correct destination.

    If you insist on trying anyway, see this article for programmatically setting the client's IP address.

提交回复
热议问题