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