LTRData.DiscUtils.Dmg 1.0.89

dotnet add package LTRData.DiscUtils.Dmg --version 1.0.89
                    
NuGet\Install-Package LTRData.DiscUtils.Dmg -Version 1.0.89
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LTRData.DiscUtils.Dmg" Version="1.0.89" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LTRData.DiscUtils.Dmg" Version="1.0.89" />
                    
Directory.Packages.props
<PackageReference Include="LTRData.DiscUtils.Dmg" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LTRData.DiscUtils.Dmg --version 1.0.89
                    
#r "nuget: LTRData.DiscUtils.Dmg, 1.0.89"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LTRData.DiscUtils.Dmg@1.0.89
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LTRData.DiscUtils.Dmg&version=1.0.89
                    
Install as a Cake Addin
#tool nuget:?package=LTRData.DiscUtils.Dmg&version=1.0.89
                    
Install as a Cake Tool

LTRData.DiscUtils.Dmg

.NET support for reading Apple DMG/UDIF disk images and decompressing supported image data.

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

Installation

dotnet add package LTRData.DiscUtils.Dmg

Capabilities

Capability Support
Read UDIF image data Yes, including supported compression modes
Create UDIF images No
Modify UDIF content No

Usage notes

The UDIF content buffer is read-only even if an outer object reports a writable backing stream. Compression support includes zlib, bzip2, ADC and LZFSE. LZFSE uses LzfseSharp on modern .NET targets and lzfse-net on .NET Framework/.NET Standard targets; deployment requirements therefore depend on the selected target and decoder dependency.

Registration

For automatic discovery, register the providers implemented by this package:

DiscUtils.Dmg.Formats.Register();

Direct use of the concrete APIs in this package does not require discovery registration. Each registration call covers only its own assembly. Register DiscUtils.Core.Formats.Register() as well when using generic disk opening through the local-file transport, and register other disk/filesystem providers as needed. These registration calls support trimming and Native AOT; this is not a guarantee for every operation in the package.

Example

using System;
using System.IO;
using DiscUtils.Dmg;
using DiscUtils.Streams;

using var image = File.OpenRead("existing.dmg");
using var disk = new Disk(image, Ownership.None);
Console.WriteLine(disk.Capacity);
// disk.Content exposes decompressed disk data; inspect its partitions separately.

Documentation

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

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on LTRData.DiscUtils.Dmg:

Package Downloads
LTRData.DiscUtils.Containers

DiscUtils meta-package for disk and image containers, with Linux volume mapping and related image readers.

LTRData.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.89 172 9/22/2026
1.0.88 1,560 8/3/2026
1.0.87 358 7/20/2026
1.0.86 1,227 7/4/2026
1.0.85 425 6/30/2026
1.0.84 245 6/27/2026
1.0.83 334 6/18/2026
1.0.82 2,160 5/26/2026
1.0.81 542 5/14/2026
1.0.80 609 4/24/2026
1.0.77 498 3/13/2026
1.0.76 254 3/10/2026
1.0.75 961 2/20/2026
1.0.74 238 2/18/2026
1.0.73 1,918 1/5/2026
1.0.72 660 11/25/2025
1.0.71 591 11/19/2025
1.0.70 573 11/11/2025
1.0.69 519 10/31/2025
1.0.68 380 10/30/2025
Loading failed