title: How to send a XmlSerializer Class to a WebService and then Deserialize it?
body: <p>I want to be able to send a XmlSerializer class (which is generated obvious in remote C# application) over a WebService that will then deserialize it into a class. (I didnt know it its possible either)</p>
  
  <p>My class is:</p>
  
  <pre><code>SystemInfo
  </code></pre>
  
  <p>I'm serializing it this way:</p>
  
  <pre><code>        XmlSerializer mySerializer = new XmlSerializer(typeof(SystemInfo));
          StreamWriter myWriter = new StreamWriter(textBox1.Text);
          mySerializer.Serialize(myWriter, sysinfo);
  </code></pre>
  
  <p>How can i build the WebService?</p>
  
  <pre><code>    [WebMethod]
      public void Reports(XmlSerializer xmlSerializer)
      {
        .
        .
        .
      }
  </code></pre>
  
  <p>Can anyone help me out?</p>
  
  <p>Regards</p>