如何使用ms-dos命令或c#代码获取路由表 [英] how to get the routing table using ms-dos commands or c# code

查看:153
本文介绍了如何使用ms-dos命令或c#代码获取路由表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过输入源IP地址和目标IP地址使用ms-dos命令或c#代码获取动态路由表?

how to get the dynamic routing table using ms-dos commands or c# code by inputting source ip address and destination ip address?

推荐答案

也许迟到了回答,但这个信息可能会让你开始。



如何使用Traceroute命令 [ ^ ]



如果你想在ac#应用程序中使用它,你可以使用 Process 类并重新路由标准输出。

处理类 [ ^ ]

如何在.NET中生成进程并捕获其STDOUT? [ ^ ]
Maybe to late for an answer, but this info might get you started.

How to Use the Traceroute Command[^]

If you want to use this in a c# application, you can use the Process class and reroute the standard output.
Process Class[^]
How to spawn a process and capture its STDOUT in .NET?[^]


这篇关于如何使用ms-dos命令或c#代码获取路由表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆