Using vbscript I can get the domain of a server by binging to the WinNT provider and then getting the ADsPath
Set comp = GetObject("WinN T://MyComputer"
sComputerAndDom ain = comp.ADsPat
How do I do the same using c# and the .net framework
Thank
Richard Chown
Set comp = GetObject("WinN T://MyComputer"
sComputerAndDom ain = comp.ADsPat
How do I do the same using c# and the .net framework
Thank
Richard Chown
Comment