Hi,
I did a winforms applicaion using C#. I has 'n' number of forms.
I like to track application usage time from user login to application exit.
How can I achieve this?
Thanks in advance.
When user logs in save the time in variable. When user logs out subtract the Login Time from the Current Time to get the time he used the system
There's event of Form closing that can be used to find the total time at the end of Application.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.