Tobii Pro SDK Unity API
Tobii.Research.LicenseKey Class Reference

Represents the eye tracker license key More...

Inheritance diagram for Tobii.Research.LicenseKey:

Public Member Functions

 LicenseKey (byte[] key)
 Initializes a new instance of the LicenseKey class from a byte array which is the license. More...
 
bool Equals (LicenseKey other)
 Checks if this license key is equal to another LicenseKey . More...
 
override bool Equals (object obj)
 Checks if this license key is equal to another LicenseKey . More...
 
override int GetHashCode ()
 Returns a hash code for this object. This is used internally in collections. More...
 

Static Public Member Functions

static bool operator== (LicenseKey obj1, LicenseKey obj2)
 Checks if two LicenseKey objects are equal. More...
 
static bool operator!= (LicenseKey obj1, LicenseKey obj2)
 Checks if two LicenseKey objects are not equal. More...
 

Properties

byte[] Key [get]
 Gets the actual license key. More...
 

Detailed Description

Represents the eye tracker license key

Constructor & Destructor Documentation

Tobii.Research.LicenseKey.LicenseKey ( byte[]  key)
inline

Initializes a new instance of the LicenseKey class from a byte array which is the license.

Parameters
keyThe byte array that is the actual license key.

Member Function Documentation

bool Tobii.Research.LicenseKey.Equals ( LicenseKey  other)
inline

Checks if this license key is equal to another LicenseKey .

Parameters
otherOther license key to check.
Returns
True if other equals this.
override bool Tobii.Research.LicenseKey.Equals ( object  obj)
inline

Checks if this license key is equal to another LicenseKey .

Parameters
objOther license key to check.
Returns
True if obj equals this.
override int Tobii.Research.LicenseKey.GetHashCode ( )
inline

Returns a hash code for this object. This is used internally in collections.

Returns
A hash code.
static bool Tobii.Research.LicenseKey.operator!= ( LicenseKey  obj1,
LicenseKey  obj2 
)
inlinestatic

Checks if two LicenseKey objects are not equal.

Parameters
obj1First license key.
obj2Second license key
Returns
True if the license keys are not equal.
static bool Tobii.Research.LicenseKey.operator== ( LicenseKey  obj1,
LicenseKey  obj2 
)
inlinestatic

Checks if two LicenseKey objects are equal.

Parameters
obj1First license key.
obj2Second license key
Returns
True if the license keys are equal.

Property Documentation

byte [] Tobii.Research.LicenseKey.Key
get

Gets the actual license key.