I have a service that runs and I\'d like to receive notification when:
a) the network is connected.
b) when a user logs in to the machine.
How can I do
SENS can do this. http://msdn.microsoft.com/en-us/magazine/cc301850.aspx
Check for both ISensNetwork and ISensLogon.
Adapt this for C# and you're done.