TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vikas Ahlawat
NA
564
818.1k
How to check my system is locked or not using c#?
Aug 31 2016 1:51 AM
I am creating C# window application, by this I want to know system status (locked or not or sleep) by running it at random time.
Below code will not work because I am running my exe at random time and then close it, So it can't catch below event code. Can someone help me how can I check windows status in my case?
private const int SessionLockParam = 0x7;
private const int SessionUnlockParam = 0x8;
Reply
Answers (
2
)
Zoom in/out, rotar image
Characters and year with Auto increment number.