警告 1 “System.Net.Dns.GetHostByAddress(System.Net.IPAddress)”已过时:“GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202” D:\V.net\驼峰客栈计算机管理系统\服务端\服务端\Form4.cs 89 36 服务端出现的已过时警告,很郁闷,但好像并不影响使用,请问什么方法 没有过时???
解决方案 »
- GridView自动列设置列宽
- PictureBox相关问题
- js中window.parent.location.href参数太长怎么办?
- menuStrip多次点击问题
- 调用c++写的dll,返回long类型的时间,如何转换成c#中的时间啊?
- c# socket拦截问题 为什么connect拦截不到?
- 怎么打开C# Compiler?
- 向QQ那样的打开多个聊天窗口是如何区分的?
- 研究了好久都找不到答案(如何使我在自定义控件中添加的button触发button_login事件?)
- winform 关于重写 CreateParams 和WndProc
- MVC 问题
- 远程访问 虚拟目录下的所有文件
please use GetHostEntry instead.
请使用GetHostEntry这个方法替换。
IPAddress address
)