public Either <RfcErrorInfo, Unit> AllowStartOfPrograms(IConnectionHandle connectionHandle, StartProgramDelegate callback) { Logger.IfSome(l => l.LogTrace("Setting allow start of programs callback")); NativeApi.AllowStartOfPrograms(connectionHandle as ConnectionHandle, callback, out var errorInfo); return(ResultOrError(Unit.Default, errorInfo.Code, errorInfo)); }