System.Tether.Manager.TTetheringManager.AllowedAdapters

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AllowedAdapters: string read GetAllowedAdapters write SetAllowedAdapters;

C++

__property System::UnicodeString AllowedAdapters = {read=GetAllowedAdapters, write=SetAllowedAdapters};

Properties

Type Visibility Source Unit Parent
property published
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringManager

Description

String that contains the adapter type of each adapter that this manager allows for tethering communications, separated by a pipe character ('|'). For example: 'Bluetooth|Network'.

By default, only the TTetheringNetworkAdapterV4_UDP adapter ('Network') is enabled. You can change the value of AllowedAdapters to allow any other built-in adapter or registered custom adapter.

When two managers communicate, they use the first allowed adapter of the manager that initiated the connection that is also allowed by the other manager. For example, if a manager that allows 'Network_V4|Network_V6' initiates a connection with a manager that allows 'Network_V6|Network_V4', they use IPv4 with multicast addresses.