Environment.UserDomainName - Currently logged on user's domain
Environment.UserName - Currently logged on user name
System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName()).AddressList - IP
address list of the local machine
Hope this helps?
Hi
How to get NT User Account, IP and Domain using VB.NET.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.