How to get NT User Account, IP and Domain using VB.NET

  • Thread starter Thread starter Guest
  • Start date Start date
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.

Thanks,
Mustaq
 
Back
Top