EmulatorBiosRequirement14.1
Class in Unbroken.LaunchBox.Plugins.Components.Emulators
public sealed class EmulatorBiosRequirementDescribes a BIOS file used by an emulator.
Constructors
EmulatorBiosRequirementInitializes a BIOS file requirement.
EmulatorBiosRequirement
public EmulatorBiosRequirement(
string? location,
string fileName,
bool required,
string? description = null,
string? md5 = null,
EmulatorBiosRequirementGroup? group = null
)Initializes a BIOS file requirement.
location- The location relative to the emulator's root folder.
fileName- The BIOS filename.
required- Whether the file is required.
description- An optional description.
md5- An optional expected MD5 hash.
group- An optional requirement group.
Properties
ApplicableGroupGets the optional group to which this requirement belongs.DescriptionGets the optional user-facing description.FileNameGets the BIOS filename.LocationGets the expected location relative to the emulator's root folder.Md5Gets the expected MD5 hash, when one is known.RequiredGets whether the file is required to run the emulator.
ApplicableGroup
public EmulatorBiosRequirementGroup? ApplicableGroup { get; }Gets the optional group to which this requirement belongs.
Description
public string? Description { get; }Gets the optional user-facing description.
FileName
public string FileName { get; }Gets the BIOS filename.
Location
public string? Location { get; }Gets the expected location relative to the emulator's root folder.
Md5
public string? Md5 { get; }Gets the expected MD5 hash, when one is known.
Required
public bool Required { get; }Gets whether the file is required to run the emulator.
Methods
ToStringReturns the BIOS filename.
ToString
public override string ToString()Returns the BIOS filename.