IP I have 1 NIC with a primary IP and a secondary IP configured on it, is it possible to launch a new WebBrowser in .Net and initiate the web requests through the secondary IP instead of the primary IP?
A:
the OS, not a control, determines, basing on routing table, which route to use for connecting with target host, AFAIK
so if you want to communicate with host1 via if1 than if2, configure routing on OS level
abatishchev
2010-08-20 13:28:40
@abatishchev - do I have access to these settings via .Net?
Yo Momma
2010-08-20 13:31:08
@Mitchan: Not sure. Ask more general question here, on SO or on SF or try http://www.google.com/search?q=c%23+routing+table
abatishchev
2010-08-20 13:45:53
@Mitchan: You can probably make a manual WebRequest via preferred interface, see http://stackoverflow.com/questions/3345387/how-to-change-originating-ip-in-httpwebrequest and related
abatishchev
2010-08-20 13:47:09