This code should be ported to .NET Core to keep it relevant. This could be leveraged for cross-platform this way too.
This code should be ported to .NET Core to keep it relevant. This could be leveraged for cross-platform this way too.