dbosoft / YaNco

.NET SAP RFC API based on SAP Netweaver RFC SDK
MIT License
123 stars 15 forks source link

Added IO for global library functions #284

Closed fw2568 closed 8 months ago

fw2568 commented 8 months ago

new Trait HasSAPRfcLibrary<RT> with RfcLibraryIO containing methods:

Either<RfcError, System.Version> GetVersion();
Either<RfcError, Unit> SetTraceDirectory(string traceDirectory);
Either<RfcError, Unit> SetMaximumTraceFiles(int traceFiles);
Either<RfcError, Unit> SetCpicTraceLevel(int traceLevel);

Either<RfcError, Unit> LoadCryptoLibrary(string libraryPath);
Either<RfcError, Unit> SetIniDirectory(string iniDirectory);
Either<RfcError, Unit> ReloadRfcIni();