public virtual captureResponse nextCaptureResponse()
{
if (captureResponseReader.ReadState != ReadState.Closed)
{
string response = captureResponseReader.ReadOuterXml();
XmlSerializer serializer = new XmlSerializer(typeof(captureResponse));
StringReader reader = new StringReader(response);
captureResponse i = (captureResponse)serializer.Deserialize(reader);
if (!captureResponseReader.ReadToFollowing("captureResponse"))
{
captureResponseReader.Close();
}
return i;
}
return null;
}