Web-To-App communication

Good day
There is a reliable way to connect a WebCore application with a native application / service running on an operating system e.g. MS Windows?
For example, I need to sign data from the web interface with a qualified electronic signature - a native .NET application
I would need a reliable way to communicate in both directions between the web application and the native applications / services in the operating system.
Well thank you
Miro