Table of Contents

Class NcchHeader

Namespace
SceneGate.Lemon.Containers.Formats
Assembly
SceneGate.Lemon.dll

NCCH header information.

public class NcchHeader
Inheritance
NcchHeader
Inherited Members

Properties

Flags

Gets or sets the flags.

public byte[] Flags { get; set; }

Property Value

byte[]

MagicId

Gets the magic identifier of the format.

public static string MagicId { get; }

Property Value

string

The magic ID of the format.

MakerCode

Gets or sets the maker code.

public short MakerCode { get; set; }

Property Value

short

PartitionId

Gets or sets the partition id.

public long PartitionId { get; set; }

Property Value

long

ProductCode

Gets or sets the product code.

public string ProductCode { get; set; }

Property Value

string

ProgramId

Gets or sets the program id.

public long ProgramId { get; set; }

Property Value

long

RomHashSize

Gets or sets the size of the program region (in units) that will be used for calculating the hash.

public int RomHashSize { get; set; }

Property Value

int

Signature

Gets or sets the RSA-2048 signature of the NCCH header using SHA-256.

public byte[] Signature { get; set; }

Property Value

byte[]

The signature of the header.

SystemHashSize

Gets or sets the size of the system region (in units) that will be used for calculating the hash.

public int SystemHashSize { get; set; }

Property Value

int

Unit

Gets the equivalent in bytes of one unit for the header values.

public static int Unit { get; }

Property Value

int

One unit in bytes.

Version

Gets or sets the version.

public short Version { get; set; }

Property Value

short