C# Class SecureDelete.Schedule.PowerManager

Afficher le fichier Open project: gratianlup/SecureDelete Class Usage Examples

Méthodes publiques

Méthode Description
GetPowerStatus ( ) : bool

Method should only be used on XP systems.

IsUnderVista ( ) : bool
PowerManager ( ) : System
Start ( ) : bool
Stop ( ) : void

Private Methods

Méthode Description
GetSystemPowerStatus ( SystemPowerStatus lpSystemPowerStatus ) : bool
NotifyStatusChagned ( ) : void
StopImpl ( ) : void
WinFormStop ( ) : void
WinFormsStart ( ) : void

Method Details

GetPowerStatus() public méthode

Method should only be used on XP systems.
public GetPowerStatus ( ) : bool
Résultat bool

IsUnderVista() public static méthode

public static IsUnderVista ( ) : bool
Résultat bool

PowerManager() public méthode

public PowerManager ( ) : System
Résultat System

Start() public méthode

public Start ( ) : bool
Résultat bool

Stop() public méthode

public Stop ( ) : void
Résultat void