TTetheringCustomStorage = class
class PASCALIMPLEMENTATION DECLSPEC_DRTTI TTetheringCustomStorage : public System::TObject
Base class for persisting the pairing data of a manager between sessions.
By default, managers store the information about which remote managers are paired to them in memory. As a result, your manager can reconnect to a previously-paired remote manager, but only during the same session. If you restart your application, your manager looses its pairing data and cannot reconnect to previously-paired remote managers automatically, without using a password again if a password is required.
You can implement a subclass of TTetheringCustomStorage and assign an instance to the
AStorage parameter of the OnRequestStorage event of your manager to provide persistence to your manager. Your implementation can store this data in a persistent media, such as a local file.
To implement a subclass of TTetheringCustomStorage, you must implement the following members that are responsible for saving and loading the pairing information:
- TetheringIniFileStorage code example (Delphi)