u can create a small GDScript Autoload Singleton that uses JavaScriptBridge to fetch the WebGL version. After that, u can use the call () method in your codeto invoke that GDScript function dynamically.
I'd need a WebGL version of the game to begin with and that's the thing I can't create with Godot .NET.