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.
|
public static Update ( string mac, string guid ) : void | ||
mac | string | MAC |
guid | string | GUID |
return | void |
public static Verify ( string data, string signature ) : bool | ||
data | string | Data, utf8 |
signature | string | Signature, base64 |
return | bool |