LaunchBoxContributors
On this page

EmulatorBiosRequirement14.1

Class in Unbroken.LaunchBox.Plugins.Components.Emulators

C#
public sealed class EmulatorBiosRequirement
Describes a BIOS file used by an emulator.

Constructors

EmulatorBiosRequirement

C#
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

C#
public EmulatorBiosRequirementGroup? ApplicableGroup { get; }
Gets the optional group to which this requirement belongs.

Description

C#
public string? Description { get; }
Gets the optional user-facing description.

FileName

C#
public string FileName { get; }
Gets the BIOS filename.

Location

C#
public string? Location { get; }
Gets the expected location relative to the emulator's root folder.

Md5

C#
public string? Md5 { get; }
Gets the expected MD5 hash, when one is known.

Required

C#
public bool Required { get; }
Gets whether the file is required to run the emulator.

Methods

ToString

C#
public override string ToString()
Returns the BIOS filename.

Returns

The BIOS filename.