问题描述
朋友们,
我试图找出FTP站点的IP地址,ISP名称(互联网服务提供商)和位置.现在,我很难找到FTP站点的IP地址.
例如
< pre lang ="c#"> System.Net.IPAddress [] sIPAddress = null;
sIPAddress = System.net.Dns.GetHostAddresses("ftp://www.codeproject.com");</pre>
会引发一些错误
无法隐式转换类型"System.Net.IPAddress []""
有没有可能找到用于FTP站点的IP地址的解决方案,并且有任何方法可以找到该IP地址的ISP名称和位置.任何解决方案都将不胜感激.
问候,
sasi
Hi friends,
i am trying to find out the IP address,ISP name (internet service provider) and Location of the FTP site.Now, i am in trouble with to find ip address for FTP site.
for example
<pre lang="c#">System.Net.IPAddress[] sIPAddress = null;
sIPAddress= System.net.Dns.GetHostAddresses("ftp://www.codeproject.com");</pre>
it raise some error
Cannot implicitly convert type ''System.Net.IPAddress[]'' "
is there any possible solutions to find IP address for FTP sites and there is any way to find the ISP name and location for that IP address. any solutions could appreciated.
regards,
sasi
推荐答案
这篇关于查找FTP站点的IP地址和位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!