System.Tether.Manager.TTetheringManager.Version
Delphi
property Version: Integer read FVersion;
C++
__property int Version = {read=FVersion, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringManager |
Description
The version number of the manager.
The constructor of the manager sets the version. Your adapter passes this version when it sends a command to a remote manager.
If the communication thread of your manager receives a response of type "TetheringServerDiscovered", the thread uses the version of the remote manager to establish proper communication with the discovered tethering server. Your manager updates the stored data about the status of the connection by setting the version of the connection to the lowest one (of the two managers). This ensures the compatibility of the communications between the two managers.