C# Class FOG.Modules.HostnameChanger.Windows.WinActivation

Show file Open project: FOGProject/fog-client Class Usage Examples

Public Methods

Method Description
GetPartialKey ( ) : string
IsActivated ( ) : bool
SetProductKey ( string key ) : bool

Private Methods

Method Description
ActivateInstalledKey ( ) : bool
GetSLMGROutput ( ) : string[]
InstallProductKey ( string key ) : bool
RunSLMGR ( ) : int
SLIsGenuineLocal ( System.Guid &slid, [ genuineState, IntPtr val3 ) : uint

Method Details

GetPartialKey() public static method

public static GetPartialKey ( ) : string
return string

IsActivated() public static method

public static IsActivated ( ) : bool
return bool

SetProductKey() public static method

public static SetProductKey ( string key ) : bool
key string
return bool