RE: Questions regarding which APIs to use to retrieve network info

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



>So, it would appear that unless dnscmd uses WMI
>that there should be a programmatic way to get at this information on both
>Win2000 and Win2003 and that's ultimately what I'm looking for here.
No, it does not use WMI but some some undocumented APIs for this
information.
Currently WMI is only supported and recommended way for this information.


Thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties and confers no rights.

.



Relevant Pages

  • Re: dnscmd: modify an existing resource record in a zone
    ... WMI is slow and would not use it for this. ... dnscmd or nsupdate and be done with it. ... >>> how can i modiffied the exsisting record using dnscmd. ... >>> cos i update record very often. ...
    (microsoft.public.windows.server.dns)
  • Re: dnscmd: modify an existing resource record in a zone
    ... thx for your reply. ... i just did a research on msdn about 'dns wmi' ... >> how can i modiffied the exsisting record using dnscmd. ...
    (microsoft.public.windows.server.dns)
  • Re: Configuring Services
    ... > Using Windows 2000 and later, so WMI is available. ... VB.Net: "Fool me once..." ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)
  • Re: Get e-mail client name from code
    ... This is the sort of thing that WMI can usually handle. ... Please respond in the newgroup and not by email. ... Prev by Date: ...
    (microsoft.public.access.formscoding)
  • EventLog
    ... load it pragmatically via WMI? ... TIA ... Prev by Date: ...
    (microsoft.public.win32.programmer.wmi)