Home All Groups Group Topic Archive Search About

Capture username of who is connecting to my machine

Author
23 Feb 2006 3:01 PM
Marie Mercier
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

Author
25 Feb 2006 11:13 PM
Shane Story
Marie, how about:

system.Environment.UserDomainName

and

system.Environment.UserName

Hope this helps you,

Shane



Show quoteHide quote
"Marie Mercier" <m*@false.com> wrote in message
news:6C2B5272-479C-4446-8C8C-8DDF7140F41F@microsoft.com...
> 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