Capture username of who is connecting to my machine

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..
 
S

Shane Story

Marie, how about:

system.Environment.UserDomainName

and

system.Environment.UserName

Hope this helps you,

Shane
 

Ask a Question

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.

Ask a Question

Top