System.Tether.Manager.TTetheringAdapter.KnownManagers

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property KnownManagers: TStringList read GetKnownManagers;

C++

__property System::Classes::TStringList* KnownManagers = {read=GetKnownManagers};

Properties

Type Visibility Source Unit Parent
property protected
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringAdapter

Description

Returns a string list of name-value pairs, where names are identifiers of remote profiles previously paired with the manager of your adapter, and values are the hashes used for password authentication during the pairing.

The manager of your adapter keeps the list of known managers. Calls to TTetheringAdapter.SaveTokenFromLocal or TTetheringAdapter.SaveTokenFromRemote add entries to the list.

The list of known managers is saved to memory, and reset every time that your application restarts. To make the list of known managers persistent between sessions, provide an event handler for the OnRequestStorage event that provides an instance of TTetheringCustomStorage for persistent storage of manager data.

The hashes may be used by subclasses of TTetheringAdapter to reconnect to previously-paired managers without requiring a password, as both the manager of your adapter and the remote manager save the same hash after a successful pairing.

See Also