Skip to main content

Class CoreString

Represents the <i>Core String</i> segment of a TC String.

Declaration
public class CoreString

Properties

Version

Gets or sets the version number of the encoding format.

Declaration
public int Version { get; set; }

Created

Gets or sets the date in which the TC String was first created.

Declaration
public DateTime Created { get; set; }

LastUpdated

Gets or sets the date in which the TC String was last updated.

Declaration
public DateTime LastUpdated { get; set; }

CmpId

Gets or sets the Consent Management Platform ID that last updated the TC String.

Declaration
public int CmpId { get; set; }

CmpVersion

Gets or sets Consent Management Platform version of the CMP that last updated this TC String.

Declaration
public int CmpVersion { get; set; }

ConsentScreen

Gets or sets the CMP Screen number at which consent was given for a user with the CMP that last updated this TC String

Declaration
public int ConsentScreen { get; set; }

ConsentLanguage

Gets or sets a two-letter code (ISO 639-1) indicating the language in which the CMP UI was presented to the user.

Declaration
public string ConsentLanguage { get; set; }

VendorListVersion

Gets or sets the version of the GVL used to create the TC String.

Declaration
public int VendorListVersion { get; set; }

PolicyVersion

Gets or sets the version of the policy used within the GVL.

Declaration
public int PolicyVersion { get; set; }

IsServiceSpecific

Gets or sets a value indicating whether the service is specific.

Declaration
public bool IsServiceSpecific { get; set; }

UsesNonStandardStacks

Gets or sets a value indicating whether the CMP used non-IAB standard stacks during consent gathering.

Declaration
public bool UsesNonStandardStacks { get; set; }

SpecialFeatureOptIns

Gets or sets a collection of special feature opt-ins.

Declaration
public FeatureCollection SpecialFeatureOptIns { get; set; }

PurposesConsents

Gets or sets a collection of purposes established on the legal basis of consent.

Declaration
public PurposeCollection PurposesConsents { get; set; }

PurposesLegitimateInterests

Gets or sets a collection of purposes where a legitimate interest was established.

Declaration
public PurposeCollection PurposesLegitimateInterests { get; set; }

PurposeOneTreatment

Gets or sets a value indicating whether Purpose 1 was <b>NOT</b> disclosed. <p> true indicates that Purpose 1 was not disclosed at all. </p> <p> false indicates that Purpose 1 was disclosed commonly as consent as expected by the Policies. </p>

Declaration
public bool PurposeOneTreatment { get; set; }

PublisherCountryCode

Gets or sets the country code (ISO 3166-1 alpha-2) of the country that determines legislation of reference.

Declaration
public string PublisherCountryCode { get; set; }

VendorConsents

Gets or sets a collection of vendors for which consent has been established.

Declaration
public VendorCollection VendorConsents { get; set; }

VendorLegitimateInterests

Gets or sets a collection of vendors for which a legitimate interest has been established.

Declaration
public VendorCollection VendorLegitimateInterests { get; set; }

PublisherRestrictions

Gets or sets a collection of publisher restrictions.

Declaration
public PublisherRestrictionCollection PublisherRestrictions { get; set; }