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.
dotnet add package LTRData.DiscUtils.Udf| Capability | Support |
|---|---|
| Read files and directories | Yes |
| Create a filesystem | No |
| Modify an existing filesystem | No |
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.
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);Repository and capability matrix · Wiki · Migration guide · Format registration and Native AOT