piccaso Posted November 14, 2006 Share Posted November 14, 2006 is there any api call/registry key that tells me which dns server windows is currently using? or a way to get details about a network adapter? (like connected or not...) google let me down on this thanks CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
sheck Posted November 14, 2006 Share Posted November 14, 2006 is there any api call/registry key that tells me which dns server windows is currently using?or a way to get details about a network adapter? (like connected or not...)google let me down on this thanksTry thisRegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "DhcpNameServer")The above will give you all you DNS Servers separated by space. Live and Learn, 'cause Knowledge is Super Power. Link to comment Share on other sites More sharing options...
/dev/null Posted November 14, 2006 Share Posted November 14, 2006 is there any api call/registry key that tells me which dns server windows is currently using?or a way to get details about a network adapter? (like connected or not...)google let me down on this thanksWMI and the class Win32_NetworkAdapterConfiguration will give you all you need. Search the forum...CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
piccaso Posted November 14, 2006 Author Share Posted November 14, 2006 thanks guys CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now