Class DiscPlatformInfo

Namespace
CHDSharp.Models
Assembly
CHDSharpLib.dll

The result of DiscDetector: detected platform plus optional title and manufacturer (product) ID extracted from the disc's filesystem.

public sealed record DiscPlatformInfo : IEquatable<DiscPlatformInfo>
Inheritance
DiscPlatformInfo
Implements
Inherited Members

Constructors

DiscPlatformInfo(DiscPlatform, string?, string?, string)

The result of DiscDetector: detected platform plus optional title and manufacturer (product) ID extracted from the disc's filesystem.

public DiscPlatformInfo(DiscPlatform Platform, string? Title, string? ManufacturerId, string Source)

Parameters

Platform DiscPlatform

The detected platform (see DiscPlatform).

Title string

Extracted game title, or null when unavailable.

ManufacturerId string

Extracted product/serial number (e.g. "SCPS_100.50", "T-9527G", "ULJM05325"), or null when unavailable.

Source string

Human-readable description of how the platform was detected (sector 0 magic, ISO-9660 path, IPL header, ...).

Properties

ManufacturerId

Extracted product/serial number (e.g. "SCPS_100.50", "T-9527G", "ULJM05325"), or null when unavailable.

public string? ManufacturerId { get; init; }

Property Value

string

Name

The platform as a lowercase string ("cd", "dvd", "ps1", "dreamcast", ...), or "unknown".

public string Name { get; }

Property Value

string

Platform

The detected platform (see DiscPlatform).

public DiscPlatform Platform { get; init; }

Property Value

DiscPlatform

Source

Human-readable description of how the platform was detected (sector 0 magic, ISO-9660 path, IPL header, ...).

public string Source { get; init; }

Property Value

string

Title

Extracted game title, or null when unavailable.

public string? Title { get; init; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.