Metadata

Description

sealed class Tinman.Licence.Metadata

Licence metadata that is read from the execution context.

Public / Attributes

Company​Name


public readonly attribute CompanyName → (string)

The company name.

Copyright​Notice


public readonly attribute CopyrightNotice → (string [ ])

The legal copyright notice, including legit variations.

The first element is always the original metadata value. Additional elements represent legit variations:

  • Year number:
    If a single occurence of a four-digit number (e.g. 2022) is present, it is interpreted as a year number and variations are generated for the past back to the year 2000.
    Consider a perpetual licence key that has been purchased for this copyright metadata:

    'Copyright (C) 2010 Some Company, all rights reserved.'

    The year number variation ensures that the same licence key still works when the year number in the copyright metadata is changed, for example:

    'Copyright (C) 2022 Some Company, all rights reserved.'

Current


public static attribute Current → (get)

value : Metadata

[not-null]
The current metadata.

Reads metadata from the execution context.

Domain​Name


public readonly attribute DomainName → (string)

The user domain.

Product​Name


public readonly attribute ProductName → (string)

The product name.

Timestamp


public readonly attribute Timestamp → (int32)

The timestamp index.

User​Name


public readonly attribute UserName → (string)

The user name.