private bool CheckReaPiLibrary() { string log = ""; bool library = true; try { log = "Informacja o bibliotece ReaPi.dll" + Environment.NewLine; log += "ReaPi Info: " + ReaPi.GetLibInfo() + Environment.NewLine; log += "Revision: " + ReaPi.GetRevision(); } catch (Exception e) { log = "Brak bibliotek ReaPi.dll"; AppLogger.GetLogger().Fatal(log, e); library = false; } finally { SendToDashboard(MessageType.LOG, log, null, null); } return(library); }