In The Hand - .NET Components for Mobility
Gps Class
NamespacesInTheHand.WindowsMobile.GpsGps
Provides access to the GPS API in Windows Mobile 5.0 and later.
Declaration Syntax
C#Visual Basic
public sealed class Gps : Component, IDisposable
Public NotInheritable Class Gps _
	Inherits Component _
	Implements IDisposable
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
Gps()()()
Creates a new instance of Gps.

AltitudeWRTEllipsoid
Returns the Altitude.

AltitudeWRTSeaLevel
Returns the Altitude with regard to Sea Level.

Close()()()
Closes the connection with the GPS device.

Device
Returns information about the GPS Device.

DeviceStateChanged
Occurs when the device state changes.

Dispose()()()
Releases all resources used by the Component.
(Inherited from Component.)
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.)
Disposed
Adds an event handler to listen to the Disposed event on the component.
(Inherited from Component.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Finalize()()()
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
FixType
Returns the current Fix Type.

GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Heading
Returns the current Heading in degrees from North.

HorizontalDilutionOfPrecision
Returns the current Horizontal Dilution of Precision.

IsValid
Returns true if there is a current valid GPS reading.

Latitude
Returns the current Latitude in decimal degrees.

Longitude
Returns the current Longitude in decimal degrees.

MagneticVariation
Returns the Magnetic Variation.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PositionChanged
Occurs when new location information is available.

PositionDilutionOfPrecision
Returns the current Position Dilution of Precision

SatellitesInView
Returns details of the Satellites currently in view.

SelectionType
Returns the current Selection Type.

Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
Speed
Returns the current Speed in knots.

SynchronizeClock()()()
Sets the device system time based on the UTC clock values from the GPS feed.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UtcTime

VerticalDilutionOfPrecision
Returns the current Vertical Dilution of Precision.

Remarks
This class will not work on devices prior to Windows Mobile 5.0
Inheritance Hierarchy

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0