更改IP地址 [英] Changing IP Address
本文介绍了更改IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的所有
我正在开发一个应用程序,它将更改服务器的IP地址。 Ip是手动配置的(即静态IP配置)。我已经编写了以下代码来执行此操作
展开 | 选择 | Wrap | / span> 行号
解决方案
参见: http://msdn.microsoft.com/en -us / libr ... spx#properties
IPAddressData
类型:字符串数组
访问类型:读取-only
可能的解决方案是使用NETSH
展开 | 选择 | Wrap | 行号
Thnx Luuk,
你能详细解释一下吗???
第一部分是对''手册''的引用,其中说'' IPAddressData''是一个只读字段。
这意味着你无法通过该界面进行更改。
为第二部分,''NETSH '' - 我必须转发你: https://social.msdn.microsoft.com/Fo...=csharpgeneral
Dear all
i am developing an application which will change the ip address of the server. the Ip is configured manually (i.e static ip configuration). i have written the following code to do so
Expand|Select|Wrap|Line Numbers解决方案see: http://msdn.microsoft.com/en-us/libr...spx#properties
IPAddressData
type: string array
Access type: Read-only
A possible solution is to use NETSH
Expand|Select|Wrap|Line Numbers
Thnx Luuk,
can you plz explain it in some detail???
The first part is a reference to the ''manual'', where is says that ''IPAddressData'' is a Read-Only field.
This means that you cannot change is through that interface.
for the second part, the ''NETSH''-thing, I have to forward you to: https://social.msdn.microsoft.com/Fo...=csharpgeneral
这篇关于更改IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆