C# 클래스 At.FF.Krems.FullscreenBrowser.PowerManagement

The power management.
상속: IPowerManagement
파일 보기 프로젝트 열기: Grisu-NOE/Infoscreen

공개 메소드들

메소드 설명
DriveAsleep ( int deviceId ) : bool

Checks is a HDD is currently sleeping (wound down).

Hibernate ( bool force = false ) : void

Hibernate system.

LockWorkstation ( ) : void

Lock the active workstation.

LogOff ( bool force = false ) : void

Log off the active user.

Restart ( bool force = false ) : void

Restart system.

SetPowerReq ( PowerThreadRequirements threadReq ) : void

Set the power requirements for the current application, e.g. Hold display and system from suspend.

Shutdown ( bool force = false ) : void

Shutdown system.

Suspend ( bool force = false ) : void

Suspend system.

비공개 메소드들

메소드 설명
CallShutdown ( ShutdownFlags shutdownFlag, bool force ) : void

The call shutdown.

CheckEntryPoint ( string library, string method ) : bool

The check entry point.

GetDeviceHandle ( int deviceId ) : IntPtr

The get device handle.

PollPowerStatus ( ) : void

The poll power status.

메소드 상세

DriveAsleep() 공개 메소드

Checks is a HDD is currently sleeping (wound down).
public DriveAsleep ( int deviceId ) : bool
deviceId int Integer value for volume, e.g. 0.
리턴 bool

Hibernate() 공개 메소드

Hibernate system.
public Hibernate ( bool force = false ) : void
force bool Inform system to force operation.
리턴 void

LockWorkstation() 공개 메소드

Lock the active workstation.
public LockWorkstation ( ) : void
리턴 void

LogOff() 공개 메소드

Log off the active user.
public LogOff ( bool force = false ) : void
force bool Inform system to force operation.
리턴 void

Restart() 공개 메소드

Restart system.
public Restart ( bool force = false ) : void
force bool Inform system to force operation.
리턴 void

SetPowerReq() 공개 메소드

Set the power requirements for the current application, e.g. Hold display and system from suspend.
public SetPowerReq ( PowerThreadRequirements threadReq ) : void
threadReq PowerThreadRequirements Flag stating suspend mode, or release.
리턴 void

Shutdown() 공개 메소드

Shutdown system.
public Shutdown ( bool force = false ) : void
force bool Inform system to force operation.
리턴 void

Suspend() 공개 메소드

Suspend system.
public Suspend ( bool force = false ) : void
force bool Inform system to force operation.
리턴 void