No. The solution relied on ActiveX controls, which were extremely insecure, and only ever worked in Internet Explorer on Windows. No other browser, including both flavours of MS Edge, will support it.
You either need to run the code on the server, and use an AJAX request to call it, or use a technology such as
Blazor[
^] to run your C# code on the client.