By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,218 Members | 1,304 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,218 IT Pros & Developers. It's quick & easy.

Network route with c#

P: n/a
Hi together,

I am trying to add a new network route to the system with C# (like the dos
command "route add ...."). But I can't find a suitable class in the
framework. Perhaps can somebody help me who has tried some similar
operations with c#.

Kind regards
Markus
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Markus,

There is nothing in the framework for this, so basically you have two
paths:
1- Use the Process class to invoke the route command with the parameters
needed as you would do from a command prompt.

2- Try to find a API call for this and P/Invoke them.
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"markus r." <ro*@spock.5sl.org> wrote in message
news:bv************@ID-19462.news.uni-berlin.de...
Hi together,

I am trying to add a new network route to the system with C# (like the dos
command "route add ...."). But I can't find a suitable class in the
framework. Perhaps can somebody help me who has tried some similar
operations with c#.

Kind regards
Markus

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.