Capture username of who is connecting to my machine

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, would anyone know how, in VB.NET to capture a username of anyone who
accesses my machine from our LAN. I have used System.Diagnostics, but I get
no username or machine name. I have been asked to detect when someone is
using 'Dameware' in silent mode, so I want to catch anybody...there must be a
way ? thanks..
 
Marie, how about:

system.Environment.UserDomainName

and

system.Environment.UserName

Hope this helps you,

Shane
 
Back
Top