static void CopyResponse(object Details) { try { object[] DetailsArray = (object[])Details; RequestSource Source = (RequestSource)DetailsArray[0]; int ID = (int)DetailsArray[1]; Session IrSe = GetLog(Source, ID); if (IrSe == null) { IronUI.ShowLogStatus("Unable to read Response from log", true); return; } if (IrSe.Response == null) { IronUI.ShowLogStatus("Unable to read Response from log", true); return; } IronUI.SetClipBoard(IrSe.Response.ToString()); } catch (Exception Exp) { IronUI.ShowLogStatus("Unable to read Request from Log", true); IronException.Report("Error reading from log", Exp.Message, Exp.StackTrace); } }