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