// FUNCTIONS public void writeInfoLabel(string message) { if (mainSocket != null) { mainSocket.writeInfoLabel(message); } }
public MainTestSocketed(MainSocket mainSocketIn, Enums.ProcessType procType, bool readOn, bool writeOn, bool exportOn) { mainSocket = mainSocketIn; try { testComponent = new TestComponent(procType, this, readOn, writeOn, exportOn); } catch (Exception e) { mainSocket.writeInfoLabel("Couldn't hook to process. Make sure the app is running in admin mode if the game is."); } }