private static void setBufferTrue(object response) { var bufferProperty = response.GetType().GetProperty("Buffer"); bufferProperty.SetValue(response, true, null); }