In news:(E-Mail Removed) oups.com,
Eoin <(E-Mail Removed)> stated, which I commented on below:
> Hi there,
>
> Hope this is the correct group for this question, apologies in advance
> if not.
>
> I need to read in the DNS addresses that are stored in the registry of
> Windows 2003 Ent. I have found their location and have the API's (C++)
> to access specific locations in the registry BUT ... the location of
> the DNS addresses is preceeded by an interface id
> e.g
> ..\interface\{1234-3D0342-T.......}\NameServer
>
> The Id is my problem, how do I get to the NameServer attribute without
> knowing this {1234-3D0342-T...} value?
>
> Can I get it from querying some other location ? and if not is what I
> am doing possible ?
>
> Thanks and regards
>
> Eoin
You might want to try the microsoft.public.vcbscript newsgroup. I think
there's a newsgroup for C# as well, but I must check. I think the folks in
the vbscript may be able to answer either way. The first thing I can think
of is as long as the default name of the connection hasn't been renamed
("Local Area Connection"), or use a standard naming policy for the
connection being used on all servers, I would imagine you can query for the
connection name instead of the attribute value. But then again, I am not a
programmer...
--
Ace
Innovative IT Concepts, Inc
Willow Grove, PA
This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.
Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft MVP - Directory Services
Microsoft Certified Trainer
Having difficulty reading or finding responses to your post?
Instead of the website you're using, I suggest to use OEx (Outlook Express
or any other newsreader), and configure a news account, pointing to
news.microsoft.com. This is a direct link to the Microsoft Public
Newsgroups. It is FREE and requires NO ISP's Usenet account. OEx allows you
to easily find, track threads, cross-post, sort by date, poster's name,
watched threads or subject.
It's easy:
How to Configure OEx for Internet News
http://support.microsoft.com/?id=171164
Infinite Diversities in Infinite Combinations
Assimilation Imminent. Resistance is Futile
"Very funny Scotty. Now, beam down my clothes."
The only constant in life is change...