在VB.NET中添加带有子网掩码的IP地址-Using.Net Framework 4.0 [英] Adding IP Address with Subnet Mask in VB.NET - Using.Net Framework 4.0

查看:183
本文介绍了在VB.NET中添加带有子网掩码的IP地址-Using.Net Framework 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Windows应用程序,我想通过该应用程序以编程方式添加带有子网掩码的IP地址,以与路由器等外部设备进行通信.

如何在Visual Studio 2010中使用VB.NET以编程方式添加带有子网掩码的IP地址?

VS2010提供了任何内置方法吗?请提出建议.

请帮我提供示例代码.

I have a windows application through which I would like to add IP Address with Subnet Mask programatically to communicate with external devices such as routers.

How to add IP Address with Subnet Mask programatically using VB.NET in Visual Studio 2010?

Any inbuilt methods provided in VS2010? Please suggest.

Please help me with sample code.

推荐答案

IP别名?描述你在说什么.

Visual Studio中没有任何内容,没有,因为Visual Studio用于编写调试代码.它与网络完全无关.

.NET Framework没有提供任何本机类或方法来启用"IP别名".

也许对这是什么以及您手动执行的步骤进行更好的解释会有所帮助.
IP Alias? Describe what it is you''re talking about.

There is nothing in Visual Studio, no, because Visual Studio is used to write an debug code. It has nothing to do with networking at all.

The .NET Framework doesn''t supply any native classes or methods to enable an "IP Alias".

Perhaps a better explanation of what this is and the steps you take to do this manually would help.


这篇关于在VB.NET中添加带有子网掩码的IP地址-Using.Net Framework 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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