title: How Can you read GPS data from GlobalSat ND-100S USB GPS Dongle in a windows metro app
body: <p>I've read jerry nixon's post on the topic
  <a href="http://blog.jerrynixon.com/2012/05/metro-answers-can-i-use-serial-port.html" rel="nofollow noreferrer">http://blog.jerrynixon.com/2012/05/metro-answers-can-i-use-serial-port.html</a>
  and the conclusion i've come to is you can but only sometimes, now i've come across this blog post <a href="http://blogs.msdn.com/b/wsdevsol/archive/2013/12/03/my-gps-sensor-is-not-working-with-windows-store-apps.aspx" rel="nofollow noreferrer">http://blogs.msdn.com/b/wsdevsol/archive/2013/12/03/my-gps-sensor-is-not-working-with-windows-store-apps.aspx</a> and it seems to tackle the exact problem i have just with a different device. </p>
  
  <p>i have not been able to come up with a solution for: <a href="https://rads.stackoverflow.com/amzn/click/com/B003WNHGAO" rel="nofollow noreferrer" rel="nofollow noreferrer">http://www.amazon.com/gp/product/B003WNHGAO/ref=oh_details_o00_s00_i00?ie=UTF8&amp;psc=1</a> so i'm really hoping that some else has. </p>
  
  <p>I've looked for this GNSS driver, but with no luck. Does anyone have any experience working with this device and a windows 8/8.1 metro app? </p>
  
  <p>Otherwise I think my only recourse will be just to build my app as a regular WPF application.</p>
  
  <p>When the drivers are installed for this dongle you communicate with it via a comm port (virtual serial port)
  <img src="https://i.stack.imgur.com/n3ABn.png" alt="enter image description here"></p>
  
  <p>then you can list all the available com ports using</p>
  
  <pre><code>public static void ListComPorts()
  {
      // Get a list of serial port names. 
      string[] ports = SerialPort.GetPortNames();
  
      // Display each port name to the console. 
      foreach (string port in ports)
          Console.WriteLine(port);
  }
  </code></pre>
  
  <p>now since the <a href="http://msdn.microsoft.com/en-us/library/system.management%28v=vs.110%29.aspx" rel="nofollow noreferrer">System.Management</a> namespace is not available for metro style apps, i'm kind of stuck.</p>
  
  <p>any help would be appreciated it even if that is "Throw in the towel and go with a WPF Application."</p>