MediaDevices 2.0.0

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

MediaDevices

Media Devices is a API to interact with MTP (Media Transfer Protocol), PTP (Picture Transport Protocol) and MSC (Mass Storage Class) devices like cell phones, tablets and cameras.

Version 2 has been completely rewritten to support the following features:

  • Thread-safe: The library can now be used across multiple threads.

  • Trimmable

  • AOT-compatible

  • Uses generated COM and LibraryImport

  • Async support

Older .NET versions prior to 8.0 are no longer supported, as they do not support these new features.

Download

NuGet Package

Documentation

Pages

You are welcome to support this project.

Donate

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net9.0-windows7.0 is compatible.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.
  • net9.0-windows7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MediaDevices:

Package Downloads
ExternalDevices

A test library

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on MediaDevices:

Repository Stars
zhuxb711/RX-Explorer
一款优雅的UWP文件管理器 | An elegant UWP Explorer
Version Downloads Last Updated
2.0.0 0 8/20/2026
2.0.0-preview.3.3000 75 8/14/2026
2.0.0-preview.2.2000 61 8/9/2026
2.0.0-preview.1.1000 80 8/2/2026
1.10.0 30,310 1/11/2023
1.9.1 25,783 9/24/2021
1.9.0 778 9/23/2021
1.8.0 23,687 1/13/2019
1.7.0 1,853 9/3/2018
1.6.0 2,488 2/13/2018
1.5.0 2,109 12/16/2017
1.4.0 2,175 9/2/2017
1.3.0 5,440 1/30/2017
1.2.0 1,741 11/20/2016
1.1.0 2,306 10/27/2016
1.0.0 2,132 9/18/2016

Async, AOT, Trimmable and Thread Safe