I have VPS which supporting multiple ip addresses. I want to change those iP into network Interface in some intervals. So each request can send through unique IP. I have done code for fetching ip address list from server. but i have no idea that how can i rotate those i addresses in server.
Please suggest me that how can i set ip in network interface at runtime.
Thanks
At first HttpWebRequest has Proxy Property, see HttpWebRequest.Proxy Property
At second you can try setting default proxy in config file like this
<system.net>
<defaultProxy>
<proxy
usesystemdefaults="true"
proxyaddress="<proxy server setting>"/>
</defaultProxy>
</system.net>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.