Table of Contents

Class MetadataFile

Namespace
Playnite.SDK.Models
Assembly
Playnite.SDK.dll

Represents metadata file.

public class MetadataFile
Inheritance
MetadataFile
Inherited Members

Constructors

MetadataFile()

Creates new instance of MetadataFile.

public MetadataFile()

MetadataFile(string)

Creates new instance of MetadataFile.

public MetadataFile(string path)

Parameters

path string

Source path (URL, URI, system path).

MetadataFile(string, byte[])

Creates new instance of MetadataFile.

public MetadataFile(string name, byte[] data)

Parameters

name string

File name.

data byte[]

File content.

MetadataFile(string, byte[], string)

Creates new instance of MetadataFile.

public MetadataFile(string name, byte[] data, string originalUrl)

Parameters

name string

File name.

data byte[]

File content.

originalUrl string

Source url.

Properties

Content

Gets or sets file content.

public byte[] Content { get; set; }

Property Value

byte[]

FileName

Gets or sets file name.

public string FileName { get; set; }

Property Value

string

HasContent

Indicates whether metadata holds some content.

public bool HasContent { get; }

Property Value

bool

HasImageData

Indicates whether there's some source information for the file (content or URL).

public bool HasImageData { get; }

Property Value

bool

Path

Gets or sets original source url.

public string Path { get; set; }

Property Value

string