Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.73 KB

File metadata and controls

47 lines (32 loc) · 1.73 KB

LTRData.DiscUtils.Udf

Managed .NET reader for UDF optical-disc filesystems and their files, directories and extended attributes.

Part of the LTRData DiscUtils fork. Package IDs use LTRData.DiscUtils; C# namespaces remain DiscUtils.

Installation

dotnet add package LTRData.DiscUtils.Udf

Capabilities

Capability Support
Read files and directories Yes
Create a filesystem No
Modify an existing filesystem No

Usage notes

UdfReader exposes files and extended attributes. Size, UsedSpace and AvailableSpace are not implemented. For automatic ISO/UDF detection, reference LTRData.DiscUtils.OpticalDisk and register its providers; this package has no generated Formats entry point.

Example

using System;
using System.IO;
using DiscUtils.Udf;

// The stream starts at the filesystem, not at a whole disk's partition table.
using var stream = File.OpenRead("disc.udf");
using var fs = new UdfReader(stream);
foreach (var file in fs.Root.GetFiles())
    Console.WriteLine(file.FullName);

Related packages

Documentation

Repository and capability matrix · Wiki · Migration guide · Format registration and Native AOT