title: WCF 4.0, .NET 2.0 client and .NET types
body: <p>This is my scenario:</p>
  
  <ul>
  <li>WCF 4.0 service</li>
  <li>.NET 2.0 client (that consumes the above service)</li>
  </ul>
  
  <p>I need, let's say, to pass an array of <code>NetworkInterfaces</code> (<code>System.Net.NetworkInformation.NetworkInterfaces</code>) from the client to the service. A web reference <code>wcfReference</code> to WCF service has been added to the client side.</p>
  
  <p>Service code:</p>
  
  <pre><code>public void StoreNetworkInterfaces(System.Net.NetworkInterfaces[] nwInterfaces)
  {
  ...
  }
  </code></pre>
  
  <p>Client code:</p>
  
  <pre><code>wcfService.StoreNetworkInterfaces(System.Net.NetworkInformation.NetworkInterfaces.GetAllNetworkInterfaces());
  </code></pre>
  
  <p>I'm getting:</p>
  
  <p><code>Argument 1: cannot convert from 'System.Net.NetworkInformation.NetworkInterface[]' to 'WindowsFormsApplication1.wcfReference.NetworkInterface[]'</code></p>
  
  <p>Same happens for any other types (.NET and non .NET types). I know this is the desired behaviour for a web service (interop) but the scope of my WCF is just serving to a client installer.</p>
  
  <p>Manually changing proxy code after each Web Reference update is definitively not a good choice for this project.</p>
  
  <p>Any help or approach suggestion would be very appreciated.</p>
  
  <p>Greets</p>