/[NexusPowerControl]/trunk/NexusPowerCommand
ViewVC logotype

Log of /trunk/NexusPowerCommand

View Directory Listing Directory Listing


Sticky Revision:

Revision 46 - Directory Listing
Modified Tue Oct 25 10:46:16 2011 UTC (7 years, 7 months ago) by william
add icon


Revision 40 - Directory Listing
Modified Tue Oct 25 10:33:23 2011 UTC (7 years, 7 months ago) by william
update svn:ignores

Revision 38 - Directory Listing
Modified Tue Oct 25 10:20:40 2011 UTC (7 years, 7 months ago) by william
*** remove old wmi shutdown/reboot code
    +++ using TokenAdjuster.SetPriviledge with SeShutdownPrivilege
	causes shutdown and reboot to work just like logoff (all operations disaply the default 'force/cancel' dialog under windows7/vista


Revision 37 - Directory Listing
Modified Tue Oct 25 10:16:08 2011 UTC (7 years, 7 months ago) by william
try TokenAduster.SetPrivilege with ExitWindowsEx (for shutdown and reboot)


Revision 36 - Directory Listing
Modified Tue Oct 25 09:59:44 2011 UTC (7 years, 7 months ago) by william
Obtained TokenAdjuster from: http://www.dotnet247.com/247reference/msgs/58/292150.aspx


Revision 35 - Directory Listing
Modified Tue Oct 25 09:25:32 2011 UTC (7 years, 7 months ago) by william
mboShutdownParams["Flags"] = flags.ToString(); -> mboShutdownParams["Flags"] = (int)flags;


Revision 34 - Directory Listing
Modified Tue Oct 25 09:24:35 2011 UTC (7 years, 7 months ago) by william
Add: WMI Impersonation
Update Enum:
internal enum WMIShutdownRebootFlags
{
    Shutdown = 1,
    Reboot = 2,
}


Revision 33 - Directory Listing
Modified Tue Oct 25 09:20:38 2011 UTC (7 years, 7 months ago) by william
display message boxes with exception thrown by wmi when executing shutdown or reboot


Revision 32 - Directory Listing
Modified Tue Oct 25 08:55:24 2011 UTC (7 years, 7 months ago) by william
*** use WMI for shutdown/reboot


Revision 31 - Directory Listing
Modified Tue Oct 25 08:39:03 2011 UTC (7 years, 7 months ago) by william
minor changes to code


Revision 30 - Directory Listing
Modified Tue Oct 25 08:27:13 2011 UTC (7 years, 7 months ago) by william
*** reference: system.windows.forms
Sleep Stub: public static bool Sleep() { return Application.SetSuspendState(PowerState.Hibernate, false, false); }


Revision 29 - Directory Listing
Modified Tue Oct 25 08:11:08 2011 UTC (7 years, 7 months ago) by william
add code stubs for:
+ Shutdown
+ Restart
+ Logoff
+ Sleep


Revision 28 - Directory Listing
Modified Tue Oct 25 07:59:36 2011 UTC (7 years, 7 months ago) by william
rename: Win32API.cs -> win32api.cs

Revision 27 - Directory Listing
Modified Tue Oct 25 07:58:02 2011 UTC (7 years, 7 months ago) by william
implement lockscreen


Revision 26 - Directory Listing
Modified Tue Oct 25 07:49:31 2011 UTC (7 years, 7 months ago) by william
Turn off: (testing is completed)
#define USE_TESTING_CODE
++ now time to implement the powerstate commands


Revision 23 - Directory Listing
Modified Tue Oct 25 07:39:27 2011 UTC (7 years, 7 months ago) by william
use #define USE_TESTING_CODE, for testing application before actually implementing the power state commands


Revision 22 - Directory Listing
Added Tue Oct 25 07:22:44 2011 UTC (7 years, 7 months ago) by william
*** inital commit of NexusPowerCommand
    ++ commandline tool for executing the various power control operations


  ViewVC Help
Powered by ViewVC 1.1.22