Marc,
If you are using Sockets, then you can bind to a particular IP address
(you have to figure out on your own which network adapater has which
address). However, if you don't, then it's up to the discretion of the API
provider to provide this functionality (which most don't).
You ^could^ disable the other network card, so that the winsock layer
has no choice but to go through the network adapter that you specify, but
this can have adverse effects on other programs, and is not the best of
solutions.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Marc-André" <Ma******@discussions.microsoft.com> wrote in message
news:44**********************************@microsof t.com...
Hi,
I would to know if there's a way to use a particular network interfaces to
access network(programmatically c#). The problem is that if my wireless
network card is working, I want my application to use this one to access
the
network.
Thanks