DoenaSoft.CalculateDvdDiscId 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package DoenaSoft.CalculateDvdDiscId --version 1.0.2                
NuGet\Install-Package DoenaSoft.CalculateDvdDiscId -Version 1.0.2                
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="DoenaSoft.CalculateDvdDiscId" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DoenaSoft.CalculateDvdDiscId --version 1.0.2                
#r "nuget: DoenaSoft.CalculateDvdDiscId, 1.0.2"                
#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.
// Install DoenaSoft.CalculateDvdDiscId as a Cake Addin
#addin nuget:?package=DoenaSoft.CalculateDvdDiscId&version=1.0.2

// Install DoenaSoft.CalculateDvdDiscId as a Cake Tool
#tool nuget:?package=DoenaSoft.CalculateDvdDiscId&version=1.0.2                

Calculate Video DVD Disc Id

Cataloguing software use an algorithm to identify discs that are entered into a PC's drive. These algorithms are different for audio CDs, video DVDs and video Blu-rays.

For DVDs a programmer can use the IDvdInfo2::GetDiscID interface (https://docs.microsoft.com/en-us/windows/win32/api/strmif/nf-strmif-idvdinfo2-getdiscid)

This interface used to work on Windows XP, Vista, Windows 7, Windows 8.x and Windows 10 until Windows 10 version 1809.

With Windows 10 version 1809 Microsoft changed the way the disc Id is calculated and effectively broke many of these cataloging softwares. A bug report was filed (https://aka.ms/AA6144x).

The original algorithm is based on US patent 6,871,012 B1 (http://patentimages.storage.googleapis.com/pdfs/US6871012.pdf).

This C# code recreates the original calculation of the Disc Id even on a Windows 10 version 1809 and higher but also shows how the new algorithm works.

Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.5 93 7/27/2024
1.0.3 411 10/23/2022
1.0.2 401 9/24/2022