以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  [求助]为什么我在帮助里看不到这样的函数?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=22675)

--  作者:dingqiaoren
--  发布时间:2012/8/21 9:57:00
--  [求助]为什么我在帮助里看不到这样的函数?

在论坛上看到有这样一段代码:

 

Dim HostName As String
HostName=System.Net.Dns.GetHostName \'获得本机的机器名
Dim IPAdress As System.Net.IPAddress
IPAdress=System.Net.Dns.GetHostByName(HostName).AddressList.GetValue(0) \'获得本机的IP

 

 

我好奇的是,为什么帮助里就找不到System.Net.Dns.GetHostName 这样的方法呢?


--  作者:mr725
--  发布时间:2012/8/21 10:07:00
--  
可以参照 .Net 的帮助(我没看过),据说那里很多方法都可以在foxtable中应用···
--  作者:Fotable
--  发布时间:2012/8/23 22:06:00
--  
这个要顶