LaunchBoxContributors
On this page

ProviderItemData14.1

Class in Unbroken.LaunchBox.Plugins.Models.Items

C#
public sealed class ProviderItemData
Contains bounded, versioned, integration-defined evidence for a game or additional application.

Remarks

The payload is opaque to the host and must contain only evidence specific to that item. It must not contain credentials, access tokens, secrets, or account-private data.

Constructors

ProviderItemData

C#
public ProviderItemData(string format, int version, string payload)
Initializes a new instance of the ProviderItemData class.
format
The provider-defined payload format identifier.
version
The positive provider-defined format version.
payload
The bounded serialized payload.

Fields

MaximumFormatLength

C#
public const int MaximumFormatLength = 128
Specifies the maximum permitted length of ProviderItemData.Format.

MaximumPayloadLength

C#
public const int MaximumPayloadLength = 65536
Specifies the maximum permitted length of ProviderItemData.Payload.

Properties

  • FormatGets the provider-defined payload format identifier.
  • PayloadGets the serialized provider-defined payload.
  • VersionGets the positive provider-defined format version.

Format

C#
public string Format { get; }
Gets the provider-defined payload format identifier.

Payload

C#
public string Payload { get; }
Gets the serialized provider-defined payload.

Version

C#
public int Version { get; }
Gets the positive provider-defined format version.