C# Class ZForge.Win32.UserEnviroment

Exibir arquivo Open project: zhuangyy/Motion Class Usage Examples

Public Methods

Method Description
IsAdministrator ( ) : bool
IsUACEnabled ( ) : bool
IsVistaAbove ( ) : bool
IsWin2kAbove ( ) : bool
ValidateUserEnviroment ( string name, bool needAdmin ) : void

Method Details

IsAdministrator() public static method

public static IsAdministrator ( ) : bool
return bool

IsUACEnabled() public static method

public static IsUACEnabled ( ) : bool
return bool

IsVistaAbove() public static method

public static IsVistaAbove ( ) : bool
return bool

IsWin2kAbove() public static method

public static IsWin2kAbove ( ) : bool
return bool

ValidateUserEnviroment() public static method

public static ValidateUserEnviroment ( string name, bool needAdmin ) : void
name string
needAdmin bool
return void