C# Class DSPUtil.License

Show file Open project: hughpyle/inguz-DSPUtil

Public Methods

Method Description
Update ( string mac, string guid ) : void

Provide key to the server, check response. Throws on failure.

Verify ( string data, string signature ) : bool

Verify a signature. Throws only on unexpected failures.

Method Details

Update() public static method

Provide key to the server, check response. Throws on failure.
public static Update ( string mac, string guid ) : void
mac string MAC
guid string GUID
return void

Verify() public static method

Verify a signature. Throws only on unexpected failures.
public static Verify ( string data, string signature ) : bool
data string Data, utf8
signature string Signature, base64
return bool