LicenceUtil

Description

static class Tinman.Licence.LicenceUtil

Helper class for this namespace.

Public / Constructors

Tinman


public static method Tinman → ()

returns → IDomain

The IDomain object.

Returns the IDomain object for the Tinman 3D SDK.

Public / Methods

Content


public static method Content → (3)

input in : int8 [ ]

Input buffer holding the locked content bytes.

key in : int8 [ ]

The binary licence key.

output in : int8 [ ]

Output buffer for unlocked content bytes.

returns → int32

= 0 : The number of bytes that have been written to output in.
< 0 : The required output buffer length (negated), if null or too small.

Unlocks the given protected content.

Timestamp​Ticks​To​Utc


[Pure]
public static method TimestampTicksToUtc → (1)

ticks in : int32

The timestamp ticks.

returns → int64

The milliseconds since 1970/01/01 00:00:00 UTC (i.e. the unix epoch).

Converts the given timestamp ticks to milliseconds.

Timestamp​Utc​To​Ticks


[Pure]
public static method TimestampUtcToTicks → (1)

utc in : int64

The milliseconds since 1970/01/01 00:00:00 UTC (i.e. the unix epoch).

returns → int32

The timestamp ticks.

Converts the given milliseconds to timestamp ticks.

To​Upper


[Pure]
public static method ToUpper → (1)

in : char

The character.

returns → char

The uppercase character.

Returns the culture-invariant uppercase of the given character.

Public / Attributes

System​Time


public static attribute SystemTime → (get)

value : int64

The system time, in milliseconds after 1970/01/01 00:00:00 UTC (i.e. the unix epoch).

Returns the system time.