Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do I ... Pin
Ryan Roberts18-May-04 11:10
Ryan Roberts18-May-04 11:10 
GeneralRe: How do I ... Pin
BillAnton19-May-04 5:17
BillAnton19-May-04 5:17 
AnswerRe: How do I ... Pin
Grimolfr19-May-04 8:09
Grimolfr19-May-04 8:09 
GeneralCrystal Reports with C# Question Pin
frank2118-May-04 10:48
frank2118-May-04 10:48 
Generalformatting XML problem Pin
JockerSoft18-May-04 10:15
JockerSoft18-May-04 10:15 
GeneralRe: formatting XML problem Pin
Heath Stewart18-May-04 10:24
protectorHeath Stewart18-May-04 10:24 
GeneralModems and applications Pin
bouli18-May-04 8:42
bouli18-May-04 8:42 
GeneralRe: Modems and applications Pin
Heath Stewart18-May-04 9:40
protectorHeath Stewart18-May-04 9:40 
Most applications aren't sensitive to particular connection devices. I know that IE and Messenger are not.

About the only way to acheive this is to - after connecting - modify the route table so that connections to certain hosts go through a particular gateway. For modems, you must connect first before doing this because most ISPs hand-out dynamic IP addresses (even many broadband providers). Some will grant you a static IP, but often times charge extra. So, until you know what your dynamically assigned IP address is, you can't modify your route table accordingly.

As far as using C# to do this, why? Modify a route table is low level, although you can do it using the route.exe command-line utility. Managed applications aren't the solution to everything, especially low-level APIs. For instance, you'll probably never see managed code used for device drivers. These drivers are typically written in C and sometimes even assembler, or at least in part.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Modems and applications Pin
bouli18-May-04 9:46
bouli18-May-04 9:46 
GeneralRe: Modems and applications Pin
Heath Stewart18-May-04 9:52
protectorHeath Stewart18-May-04 9:52 
GeneralRe: Modems and applications Pin
bouli18-May-04 9:54
bouli18-May-04 9:54 
GeneralRe: Modems and applications Pin
Heath Stewart18-May-04 9:59
protectorHeath Stewart18-May-04 9:59 
GeneralRe: Modems and applications Pin
bouli18-May-04 10:01
bouli18-May-04 10:01 
GeneralRe: Modems and applications Pin
Heath Stewart18-May-04 10:04
protectorHeath Stewart18-May-04 10:04 
GeneralRe: Modems and applications Pin
bouli18-May-04 10:06
bouli18-May-04 10:06 
GeneralRe: Modems and applications Pin
Heath Stewart18-May-04 10:07
protectorHeath Stewart18-May-04 10:07 
GeneralRe: Modems and applications Pin
bouli18-May-04 10:12
bouli18-May-04 10:12 
GeneralRe: Modems and applications Pin
Heath Stewart18-May-04 10:20
protectorHeath Stewart18-May-04 10:20 
GeneralRe: Modems and applications Pin
bouli18-May-04 10:25
bouli18-May-04 10:25 
GeneralRe: Modems and applications Pin
Dave Kreskowiak18-May-04 12:23
mveDave Kreskowiak18-May-04 12:23 
GeneralRe: Modems and applications Pin
Dave Kreskowiak18-May-04 9:54
mveDave Kreskowiak18-May-04 9:54 
GeneralRe: Modems and applications Pin
bouli18-May-04 9:56
bouli18-May-04 9:56 
GeneralRe: Modems and applications Pin
Dave Kreskowiak18-May-04 10:30
mveDave Kreskowiak18-May-04 10:30 
GeneralRe: Modems and applications Pin
Judah Gabriel Himango18-May-04 9:58
sponsorJudah Gabriel Himango18-May-04 9:58 
GeneralRe: Modems and applications Pin
Tom Larsen18-May-04 10:25
Tom Larsen18-May-04 10:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.