Class CoreString
Represents the <i>Core String</i> segment of a TC String.
public class CoreString
Properties
Version
Gets or sets the version number of the encoding format.
public int Version { get; set; }
Created
Gets or sets the date in which the TC String was first created.
public DateTime Created { get; set; }
LastUpdated
Gets or sets the date in which the TC String was last updated.
public DateTime LastUpdated { get; set; }
CmpId
Gets or sets the Consent Management Platform ID that last updated the TC String.
public int CmpId { get; set; }
CmpVersion
Gets or sets Consent Management Platform version of the CMP that last updated this TC String.
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
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.
public string ConsentLanguage { get; set; }
VendorListVersion
Gets or sets the version of the GVL used to create the TC String.
public int VendorListVersion { get; set; }
PolicyVersion
Gets or sets the version of the policy used within the GVL.
public int PolicyVersion { get; set; }
IsServiceSpecific
Gets or sets a value indicating whether the service is specific.
public bool IsServiceSpecific { get; set; }
UsesNonStandardStacks
Gets or sets a value indicating whether the CMP used non-IAB standard stacks during consent gathering.
public bool UsesNonStandardStacks { get; set; }
SpecialFeatureOptIns
Gets or sets a collection of special feature opt-ins.
public FeatureCollection SpecialFeatureOptIns { get; set; }
PurposesConsents
Gets or sets a collection of purposes established on the legal basis of consent.
public PurposeCollection PurposesConsents { get; set; }
PurposesLegitimateInterests
Gets or sets a collection of purposes where a legitimate interest was established.
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>
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.
public string PublisherCountryCode { get; set; }
VendorConsents
Gets or sets a collection of vendors for which consent has been established.
public VendorCollection VendorConsents { get; set; }
VendorLegitimateInterests
Gets or sets a collection of vendors for which a legitimate interest has been established.
public VendorCollection VendorLegitimateInterests { get; set; }
PublisherRestrictions
Gets or sets a collection of publisher restrictions.
public PublisherRestrictionCollection PublisherRestrictions { get; set; }