Click here to Skip to main content
15,902,112 members
Home / Discussions / C#
   

C#

 
GeneralRe: Console Menu Application Pin
invalidsyntax101025-Aug-07 8:52
invalidsyntax101025-Aug-07 8:52 
GeneralRe: Console Menu Application Pin
Lutosław25-Aug-07 9:16
Lutosław25-Aug-07 9:16 
QuestionXML attribute Pin
ytubis25-Aug-07 5:30
ytubis25-Aug-07 5:30 
QuestionTime elapsed since user logged in Pin
Lutosław25-Aug-07 5:25
Lutosław25-Aug-07 5:25 
AnswerRe: Time elapsed since user logged in Pin
Hessam Jalali25-Aug-07 12:16
Hessam Jalali25-Aug-07 12:16 
GeneralRe: Time elapsed since user logged in Pin
Lutosław25-Aug-07 23:21
Lutosław25-Aug-07 23:21 
GeneralRe: Time elapsed since user logged in Pin
Hessam Jalali26-Aug-07 0:26
Hessam Jalali26-Aug-07 0:26 
GeneralRe: Time elapsed since user logged in Pin
Lutosław26-Aug-07 0:51
Lutosław26-Aug-07 0:51 
Thanks!

However it seems to be difficult to get a real duration because of Windows hibernate service.

UserLogonData.GetUsersLogonTime(Environment.UserName) returns an array which contains two items. NOW it looks like I'm sitting on this chair for

LoggedDuration {1.04:01:07} - from yesterday evening, when Windows was hibernated (28 hours?? Oh God...).

or

LoggedDuration {01:49:33.6101250} - today (almost two hours, not so bad)

?

"AFAIK In windows only on user can work at the same time":

Yes, but more than one may be logged in at the same time AND one user can work more than one time in the single system session (if e.g. some other guy kicked him out for a while because he "just wanted to check mailbox", but after that that guy could return back -- and I want to know how (totally) this first guy was sitting on the chair).

Greetings - Gajatko

Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

GeneralRe: Time elapsed since user logged in Pin
Hessam Jalali28-Aug-07 10:39
Hessam Jalali28-Aug-07 10:39 
QuestionProblem to Loading Data via Another Form. Pin
hdv21225-Aug-07 4:49
hdv21225-Aug-07 4:49 
QuestionTag name Pin
ytubis24-Aug-07 23:44
ytubis24-Aug-07 23:44 
AnswerRe: Tag name Pin
Christian Graus25-Aug-07 0:49
protectorChristian Graus25-Aug-07 0:49 
AnswerRe: Tag name 2 Pin
Luc Pattyn24-Aug-07 23:35
sitebuilderLuc Pattyn24-Aug-07 23:35 
GeneralRe: Tag name 2 Pin
hdv21225-Aug-07 7:56
hdv21225-Aug-07 7:56 
GeneralRe: Tag name 2 Pin
Luc Pattyn25-Aug-07 8:21
sitebuilderLuc Pattyn25-Aug-07 8:21 
GeneralRe: Tag name 2 Pin
Paul Conrad25-Aug-07 9:26
professionalPaul Conrad25-Aug-07 9:26 
AnswerRe: Tag name Pin
Luc Pattyn24-Aug-07 23:33
sitebuilderLuc Pattyn24-Aug-07 23:33 
GeneralRe: Tag name Pin
ytubis24-Aug-07 23:45
ytubis24-Aug-07 23:45 
Questionwebhosting Pin
kalyan_241624-Aug-07 22:53
kalyan_241624-Aug-07 22:53 
Answerummk Pin
invalidsyntax101025-Aug-07 7:28
invalidsyntax101025-Aug-07 7:28 
QuestionHow to catch Url from internet explorer in my Downloader? Pin
Pinkesh Gandhi24-Aug-07 22:50
Pinkesh Gandhi24-Aug-07 22:50 
QuestionReusing a socket Pin
Chals24-Aug-07 22:30
Chals24-Aug-07 22:30 
Question)c# Pin
lankaudaranga24-Aug-07 22:20
lankaudaranga24-Aug-07 22:20 
AnswerRe: )c# Pin
Christian Graus25-Aug-07 0:50
protectorChristian Graus25-Aug-07 0:50 
GeneralRe: )c# Pin
Paul Conrad25-Aug-07 9:28
professionalPaul Conrad25-Aug-07 9:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.