I need to pass from Delphi to .net the Information about which Encoding to use when writing a file.
On the Delphi side I have a var of type sysutils.TEncoding, e.g. containing TEncoding.UTF8
On .net side I need to passs a variable of ype System.Text.Encoding into a function.
What is the recommended way to do this using Hydra?