Devedse.DiscUtils.Udf
1.0.111
dotnet add package Devedse.DiscUtils.Udf --version 1.0.111
NuGet\Install-Package Devedse.DiscUtils.Udf -Version 1.0.111
<PackageReference Include="Devedse.DiscUtils.Udf" Version="1.0.111" />
<PackageVersion Include="Devedse.DiscUtils.Udf" Version="1.0.111" />
<PackageReference Include="Devedse.DiscUtils.Udf" />
paket add Devedse.DiscUtils.Udf --version 1.0.111
#r "nuget: Devedse.DiscUtils.Udf, 1.0.111"
#:package Devedse.DiscUtils.Udf@1.0.111
#addin nuget:?package=Devedse.DiscUtils.Udf&version=1.0.111
#tool nuget:?package=Devedse.DiscUtils.Udf&version=1.0.111
LTRData.DiscUtils.Udf
Managed .NET reader and image builder for UDF optical-disc filesystems.
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 | UDF 2.01 with UdfBuilder |
| 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.
UdfBuilder creates a read-only UDF 2.01 image with one physical partition and 2048-byte logical blocks. Files are limited to 234 short allocation descriptors (approximately 234 GiB per file); the partition is limited to approximately 8 TiB. The builder preserves names, directories and file contents, but does not import source filesystem attributes, extended attributes or permissions.
Build() and BuildAsync(cancellationToken) return a seekable virtual image as a Stream. Construction creates metadata in memory and opens no file payloads. Every image owns the streams returned by its source factories; each factory must return a new readable, seekable stream of the declared length on every call. Async image reads use the source stream's async methods. Separate builds have independent positions; a single image stream must not be read concurrently.
The source-path overload checks length and last-write time whenever it opens the file. These checks do not make a content snapshot: keep source files and retained byte arrays unchanged for the image's lifetime. Unexpected truncation fails, and reads never include source data beyond a declared extent. The overloads that build to an output file or stream materialize the entire image, including payloads and zero padding.
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);
Create a virtual image from existing files:
using System.IO;
using DiscUtils.Udf;
var builder = new UdfBuilder { VolumeIdentifier = "DISC" };
builder.AddDirectory("BDMV/EMPTY");
builder.AddFile("BDMV/index.bdmv", Path.Combine("source", "BDMV", "index.bdmv"));
builder.AddFile("readme.txt", System.Text.Encoding.UTF8.GetBytes("Virtual UDF image"));
using Stream image = builder.Build();
// Serve reads/seeks from image, or materialize it with builder.Build(output).
Related packages
Documentation
Repository and capability matrix · Wiki · Migration guide · Format registration and Native AOT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6
- Devedse.DiscUtils.Core (>= 1.0.111)
- Devedse.DiscUtils.Iso9660 (>= 1.0.111)
-
.NETFramework 4.8
- Devedse.DiscUtils.Core (>= 1.0.111)
- Devedse.DiscUtils.Iso9660 (>= 1.0.111)
-
.NETStandard 2.0
- Devedse.DiscUtils.Core (>= 1.0.111)
- Devedse.DiscUtils.Iso9660 (>= 1.0.111)
-
.NETStandard 2.1
- Devedse.DiscUtils.Core (>= 1.0.111)
- Devedse.DiscUtils.Iso9660 (>= 1.0.111)
-
net10.0
- Devedse.DiscUtils.Core (>= 1.0.111)
- Devedse.DiscUtils.Iso9660 (>= 1.0.111)
-
net8.0
- Devedse.DiscUtils.Core (>= 1.0.111)
- Devedse.DiscUtils.Iso9660 (>= 1.0.111)
-
net9.0
- Devedse.DiscUtils.Core (>= 1.0.111)
- Devedse.DiscUtils.Iso9660 (>= 1.0.111)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Devedse.DiscUtils.Udf:
| Package | Downloads |
|---|---|
|
Devedse.DiscUtils.OpticalDisk
Managed .NET optical-disc image access and automatic detection of ISO 9660 and UDF filesystems. |
|
|
Devedse.DiscUtils
Broad DiscUtils meta-package for managed .NET disk images, filesystems, storage protocols and related storage formats. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.111 | 342 | 11/8/2026 |
| 1.0.110 | 249 | 11/8/2026 |
| 1.0.109 | 246 | 11/7/2026 |
| 1.0.108 | 251 | 11/7/2026 |
| 1.0.107 | 1,216 | 7/4/2026 |
| 1.0.106 | 621 | 6/25/2026 |
| 1.0.105 | 349 | 6/19/2026 |
| 1.0.104 | 1,425 | 4/16/2026 |
| 1.0.103 | 360 | 4/15/2026 |
| 1.0.102 | 341 | 12/31/2025 |
| 1.0.101 | 912 | 12/30/2025 |
| 1.0.100 | 698 | 12/18/2025 |