Click or drag to resize
IAircraftDataVersion Property
Gets or sets a value indicating when the data was last changed.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
long DataVersion { get; set; }

Property Value

Type: Int64
Remarks
This is set to a counter that is incremented when a message is received. The latest value of the counter is sent to browsers with the aircraft list, and they send that value back when they later ask for an update to the aircraft list. Each property is marked with the DataVersion current as-at the time they were last changed. By comparing the browser's last-known DataVersion against those that the properties have been marked with the code can determine which properties need to be sent to the browser in an update.
See Also