Adding TNetEncoding

Hi,
I tried to add TNetEncoding class from system.netencoding using scripter.defineClassByRtti(TNetEncoding, roOverWrite, true);
And while running ShowMessage(tnetencoding.base64.Encode('test'));
Scripter complains base64 is unknown member identifier?
Should this be possible this way or do I need to create them manually?

Actually noticed that even if It could interpret base64 there next problem would be overloaded methods...
So I made manually methods for that... encoding and decoding.

1 Like

Yes, the methods might not come if they are overloaded, or simply if scripter doesn't support the type of any parameters of function result.