TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class LicenceMetadata in Tinman.Core.Licensing

sealed class LicenceMetadata  

Public / Attributes

CompanyName

The company name or '*' for any.

public readonly field CompanyName
type string

See also:

LicenceType.Company

CopyrightNotice

The legal copyright notice or '*' for any.

public readonly field CopyrightNotice
type string

See also:

LicenceType.Company
LicenceType.Product

DomainName

The user domain or '*' for any.

public readonly field DomainName
type string

See also:

LicenceType.Domain

ProductName

The product name or '*' for any.

public readonly field ProductName
type string

See also:

LicenceType.Product

Timestamp

The timestamp index.

public readonly field Timestamp
type int32

Type

The licence type.

public readonly field Type
type LicenceType

UserName

The user name or '*' for any.

public readonly field UserName
type string

See also:

LicenceType.User
LicenceType.Domain

Public / Constructors

FromRequest

Creates a new instance of LicenceMetadata from the given licence request.

public static method FromRequest (Path licenceRequest)
type LicenceMetadata
params licenceRequest [not-null] Path to licence request file.
returns [not-null] The licence metadata.

See also:

LicenceDomain.Request

LicenceMetadata

Creates a new instance of LicenceMetadata.

public constructor LicenceMetadata (int32 timestamp, string userName, string domainName, string productName, string companyName, string copyrightNotice)
params timestamp The timestamp ticks (weeks) or -1 for current.
  userName The user name or * for any.
  domainName The domain name or * for any.
  productName The product name or * for any.
  companyName The company name or * for any.
  copyrightNotice The copyright notice or * for any.

Public / Methods

IsValidFor

Are the metadata values valid for the given licence type?

public method IsValidFor (LicenceType type)
type bool
params type The licence type.
returns true if all metadata values are valid for type, false if not.

ToLicenceType

public method ToLicenceType (LicenceType type)
type LicenceMetadata
params type

ToString

public override method ToString ()
type string

ToTimestamp

public method ToTimestamp (int32 timestamp)
type LicenceMetadata
params timestamp