This is an implementation of the Cologne phonetics algorithm (Kölner Phonetik) for .NET
It was initially written by Klaus Bock and he kindly gave me permission to create a nuget package for this.
Install from NuGet
Install-Package ColognePhoneticsSharp
using ColognePhoneticsSharp;
// expected result: "65752682";
var input = "Müller-Lüdenscheidt";
var output = ColognePhonetics.GetPhonetics(input);