ArcGIS Runtime SDK for WPF - Library Reference
FindGPSEnabledPort Method
See Also 
ESRI.ArcGIS.Client.Local.Gps Namespace > SerialPortGpsCoordinateWatcher Class : FindGPSEnabledPort Method

maxPort
Maximum no. of ports to scan. Default is 32
Searches for GPS enabled serial ports

Syntax

Visual Basic (Declaration) 
Public Shared Function FindGPSEnabledPort( _
   Optional ByVal maxPort As Integer _
) As List(Of String)
C# 
public static List<string> FindGPSEnabledPort( 
   int maxPort
)

Parameters

maxPort
Maximum no. of ports to scan. Default is 32

Return Value

Returns the list of GPS enabled serial port names which can be used to start the GPS.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.