Questions tagged [sens]

System Event Notification Service

SENS can notify applications about three classes of system events:

  • TCP/IP network events, such as the status of a TCP/IP network connection or the quality of the connection.
  • User logon events.
  • Battery and AC power events.
7 questions
1
vote
1 answer

.NET Detecting a Logon event in Windows 10

I've been getting a little stumped on this issue. I have a need to detect when a user logs on, when the Display is Locked, and when the user logs off. In the past I've used a VB.NET application which uses a COM reference to Sens ( System Event…
Lemon-d
  • 11
  • 2
0
votes
1 answer

Capturing Logon event on local computer as a non-admin. Is there an api?

As a non-admin user, I want to detect the event when another user logs in. I cannot use System Event Notification Service (SensLogon2) since it requires the user to be part of the Administrators group. Is there another API or are there certain…
c25
  • 36
  • 4
0
votes
1 answer

Will Windows wait for my service on startup?

I've written a service that is to be started automatically. It does some initialization stuff in its OnStart method, including setting up SENS watchers for who logs in. Will Windows wait until my OnStart method is complete before it allows uers to…
Mike Pateras
  • 14,715
  • 30
  • 97
  • 137
0
votes
1 answer

Detecting log-ins with SENS

I have a .Net service that uses SENS to detect when a user logs on or off. I'm having two problems, though: Even though the service seems to be starting automatically, if there is only one user on the computer and that user doesn't have a…
Mike Pateras
  • 14,715
  • 30
  • 97
  • 137
0
votes
2 answers

Catching SENS Events in .NET, no Guid Attributes

I'm following this article to registering SENS events via COM, but I think I'm missing something. I'm calling the SubscribeToEvents method the article says to write, like this: EventSystemRegistrar.SubscribeToEvents("ManagedSENS EventSubscriber",…
Mike Pateras
  • 14,715
  • 30
  • 97
  • 137
0
votes
0 answers

Detecting "new events available" as in Event Viewer using COM+/SENS with C#

SUMMARY When using Windows EventViewer application, it displays an exclamation mark (!) when there are new events to display. I found several articles about implementing SENS in .NET…
meraydin
  • 89
  • 1
  • 1
  • 11
0
votes
2 answers

Changing Mouse Sensitivity in Java

How do you get the sensitivity of a mouse, change it, and then apply it to the mouse? -Progress removed, showed the speed of clicking instead of the speed of moving- I have researched this "everywhere", but there is nothing on this subject.
Coupon22
  • 395
  • 8
  • 24