C# Class SKGL.Generate

Inheritance: BaseConfiguration
ファイルを表示 Open project: SerialKeyManager/SKGL Class Usage Examples

Public Methods

Method Description
Generate ( ) : System
Generate ( SerialKeyConfiguration _serialKeyConfiguration ) : System
doKey ( int timeLeft, int useMachineCode ) : object

doKey ( int timeLeft ) : string

This function will generate a key.

doKey ( int timeLeft, System creationDate, int useMachineCode ) : string

This function will generate a key. You may also change the creation date.

Method Details

Generate() public method

public Generate ( ) : System
return System

Generate() public method

public Generate ( SerialKeyConfiguration _serialKeyConfiguration ) : System
_serialKeyConfiguration SerialKeyConfiguration
return System

doKey() public method

public doKey ( int timeLeft, int useMachineCode ) : object
timeLeft int For instance, 30 days
useMachineCode int Lock a serial key to a specific machine, given its "machine code". Should be 5 digits long.
return object

doKey() public method

This function will generate a key.
public doKey ( int timeLeft ) : string
timeLeft int For instance, 30 days.
return string

doKey() public method

This function will generate a key. You may also change the creation date.
public doKey ( int timeLeft, System creationDate, int useMachineCode ) : string
timeLeft int For instance, 30 days.
creationDate System Change the creation date of a key.
useMachineCode int Lock a serial key to a specific machine, given its "machine code". Should be 5 digits long.
return string