CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    3

    how to get domain name of a computer?



    I found and am using the 3rd Network Enumerations code sample to get

    a machine name.... how can I get the domain name that a chosen machine

    is on?


    thx for any help,

    dave...

  2. #2
    Join Date
    Apr 1999
    Location
    FL
    Posts
    18

    Re: how to get domain name of a computer?

    If you are looking for the NT domain to which you have attached, try looking at HKEY_LOCAL_MACHINE\Security\Provider\Container


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured