SharpCradle
SharpCradle copied to clipboard
Fix "Parameter count mismatch." error
Unhandled Exception: System.Reflection.TargetParameterCountException: Parameter count mismatch.
at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at SC.Program.lA(Byte[] bin, Object[] commands)
at SC.Program.Main(String[] args)
Solution found here https://stackoverflow.com/questions/48379365/parameter-count-mismatch-on-running-exe-from-memory