how to use custom ip address to browse a web page c#/.net

后端 未结 1 1965
一个人的身影
一个人的身影 2021-01-28 17:17

i am trying to browse web page using custom(user provided) ip address but it\'s not working. webBrowser1 loads web page successfully but it\'s not using custom ip address, it lo

相关标签:
1条回答
  • 2021-01-28 18:21

    You can't change your IP like this. Your code obviously doesn't work, because you've just created a variable of type IPAddress and assigned some value to it. If you want a different IP address that you currently have assigned from your internet provider, you need to use a Proxy or TOR if you can't achieve a change of your IP by restarting your modem. However, it won't obviously allow you to use whatever IP you'd like.

    0 讨论(0)
提交回复
热议问题