Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell my .NET application which IP address to request from?

Tags:

.net

If I have a Windows server with more than one IP address, how do I pro grammatically tell different instances of my application to use a different IP address when communicating with the internet?

like image 717
Jason Avatar asked Oct 11 '22 21:10

Jason


1 Answers

Set ServicePoint.BindIPEndPointDelegate.

like image 79
SLaks Avatar answered Oct 14 '22 03:10

SLaks



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!