How do you programmatically determine whether a Windows computer is a member of a domain?

后端 未结 7 617
情话喂你
情话喂你 2020-12-31 09:43

I need a way to determine whether the computer running my program is joined to any domain. It doesn\'t matter what specific domain it is part of, just whether it is connecte

相关标签:
7条回答
  • 2020-12-31 10:41

    Avoid LSA which is a wrong method. You must use DS api (2 lines of code)

    0 讨论(0)
提交回复
热议问题