def domain(system=None): global _domain if _domain is None: _domain = win32net.NetWkstaGetInfo(system, 100)['langroup'] return _domain
def SetComputerInfo(): "Doesnt actually change anything, just make sure we could ;-)" info = win32net.NetWkstaGetInfo(None, 502)