Devedse.DiscUtils.Swap 1.0.111

dotnet add package Devedse.DiscUtils.Swap --version 1.0.111
                    
NuGet\Install-Package Devedse.DiscUtils.Swap -Version 1.0.111
                    
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="Devedse.DiscUtils.Swap" Version="1.0.111" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Devedse.DiscUtils.Swap" Version="1.0.111" />
                    
Directory.Packages.props
<PackageReference Include="Devedse.DiscUtils.Swap" />
                    
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 Devedse.DiscUtils.Swap --version 1.0.111
                    
#r "nuget: Devedse.DiscUtils.Swap, 1.0.111"
                    
#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 Devedse.DiscUtils.Swap@1.0.111
                    
#: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=Devedse.DiscUtils.Swap&version=1.0.111
                    
Install as a Cake Addin
#tool nuget:?package=Devedse.DiscUtils.Swap&version=1.0.111
                    
Install as a Cake Tool

LTRData.DiscUtils.Swap

Managed .NET detection and header inspection for Linux swap areas through DiscUtils filesystem discovery.

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

Installation

dotnet add package LTRData.DiscUtils.Swap

Capabilities

Capability Support
Detect swap signatures Yes
Read swap header / volume label Yes
Format or modify swap areas No
Browse ordinary files / directories Not applicable

Usage notes

SwapFileSystem recognizes SWAP-SPACE and SWAPSPACE2 signatures using a 4096-byte header page. It is a limited metadata view, not a normal directory filesystem or a swap-content recovery tool.

Registration

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

DiscUtils.Swap.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.Swap;

using var stream = File.OpenRead("swap.img");
Console.WriteLine(SwapFileSystem.Detect(stream));

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 Devedse.DiscUtils.Swap:

Package Downloads
Devedse.DiscUtils

Broad DiscUtils meta-package for managed .NET disk images, filesystems, storage protocols and related storage formats.

Devedse.DiscUtils.FileSystems

DiscUtils meta-package for filesystem readers, supported filesystem writers and virtual filesystem abstractions.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.111 285 11/8/2026
1.0.110 186 11/8/2026
1.0.109 171 11/7/2026
1.0.108 184 11/7/2026
1.0.107 1,149 7/4/2026
1.0.106 535 6/25/2026
1.0.105 280 6/19/2026
1.0.104 1,353 4/16/2026
1.0.103 276 4/15/2026
1.0.102 267 12/31/2025
1.0.101 840 12/30/2025
1.0.100 632 12/18/2025