Class CdImageParser
Dispatches CD image descriptor parsing by file extension, mirroring MAME's
cdrom_file::parse_toc: .cue, .gdi, .iso/.cdr/.toast, .toc, and a cdrdao-style
fallback for unknown extensions.
public static class CdImageParser
- Inheritance
-
CdImageParser
- Inherited Members
Methods
Parse(string)
Parses a CD image descriptor (CUE, GDI, ISO or cdrdao TOC) into a table of contents.
public static CdToc Parse(string descriptorPath)
Parameters
descriptorPathstringPath to the descriptor file.
Returns
- CdToc
The parsed table of contents.
Exceptions
- FileNotFoundException
The descriptor or a referenced data file does not exist.
- InvalidDataException
The descriptor is malformed or unsupported.