通过读取注册表的内容的就可以了:
strDomain = WSHShell.RegRead("HKLM\System\CurrentControlSet\Services\MSNP32\NetWorkProvider\AuthenticatingAgent")