我编写了一个简单的实用程序,为特定接口(interface)添加路由。代码很简单:usingSystem;usingSystem.Diagnostics;usingSystem.Net.NetworkInformation;usingSystem.Text;classProgram{staticvoidMain(string[]args){conststringfirstConnection="xxxx.yyyyy";conststringrouteAddMask="routeaddXX.XX.XX.XXmask255.255.255.255XXX.XXX.XXX.XXXMETRIC9