title: Xamarin can't use System.IO.Ports in Android (Read from serial port)
body: <p>I have Xamarin PCL project and I try to read from serial port in Android part ("/dev/ttyS2") . When I try use <strong>SerialPort</strong> from <em>System.IO.Ports</em> I'm getting exception:</p>
  
  <p><em>System.PlatformNotSupportedException: System.IO.Ports is currently only supported on Windows.</em></p>
  
  <p>I also tried use <strong>SerialPortLib</strong> but I'm getting another exception:</p>
  
  <p><em>System.TypeLoadException: Could not load type of field 'SerialPortLib.SerialPortInput:serialPort' (1) due to: Could not resolve type with token 01000002 (from typeref, class/assembly System.IO.Ports.SerialPort, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) assembly:System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 type:System.IO.Ports.SerialPort member::</em> </p>
  
  <p>What is the best solution for reading from serial port in Xamarin Android?</p>