精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>编程开发>>● Delphi>>Delphi 网络编程>>Re:谁知道那个win API函数可以得到当前的DNS服务器?

主题:Re:谁知道那个win API函数可以得到当前的DNS服务器?
发信人: hi_world(夜露死苦[V])
整理人: soaringbird(2001-08-20 14:51:22), 站内信件
【 在 linmis 的大作中提到:】
:
:......
Windows NT

_LOCAL_MACHINE(
'SYSTEM\CurrentControlSet' +
'\Services\Tcpip\Parameters',

'NameServer',

sIPs );

Windows 95
_LOCAL_MACHINE(

'SYSTEM\CurrentControlSet' +
'\Services\VxD\MSTCP',

'NameServer',

sIPs );

end;




----
 http://funstudio.yeah.net
<p></p>

 

[关闭][返回]