Integrate Tyro with SambaPOS

Me and @shivan are trying to integrate the Tyro Terminal into SambaPOS.

Currently concerned with the “Manual Settlement” option, we have the code written in VB and C#. We have also created a button that allows us to execute a script.
Our question is: Is there a way to run VB or C# code inside the script body and execute? or is it possible to link a button to some dll file?