Heres a list of blog posts avilable

2011-03-07 - C Sharp - Windows Logoff
2011-02-10 - CSharp - Shutdown or reboot windows