TwclWiFiHostedNetwork Class
The TwclWiFiHostedNetwork component provides access to
the WiFi Hosted Network features.
wclWiFi.TwclCustomWiFiComponent
wclWiFi.TwclCustomWiFiMemoryComponent
wclWiFi.TwclWiFiHostedNetwork
type TwclWiFiHostedNetwork = class(TwclCustomWiFiMemoryComponent) end;
The TwclWiFiHostedNetwork type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Create(TComponent) | Creates a new component. (Overrides TwclCustomWiFiComponent.Create(TComponent).) |
| Name | Description | |
|---|---|---|
![]() | Active | Gets the component state. (Inherited from TwclCustomWiFiComponent.) |
![]() | AfterOpen | The event fires after the component was successfully opened. (Inherited from TwclCustomWiFiComponent.) |
![]() | BeforeClose | The even fires before the component will be closed. (Inherited from TwclCustomWiFiComponent.) |
![]() | Data | Gets the PSD IE data. |
![]() | Format | Gets the PSD IE format string. |
![]() | Handle | Provides access to the WLAN subsyste handle. (Inherited from TwclCustomWiFiComponent.) |
| Name | Description | |
|---|---|---|
![]() | Close | Closes the component. (Inherited from TwclCustomWiFiComponent.) |
![]() | DoAfterOpen | Fires the |
![]() | DoBeforeClose | Fires the |
![]() | FreeMemory(Pointer) | The method frees memory. (Inherited from TwclCustomWiFiMemoryComponent.) |
![]() | GetConnectedPeers(TwclWiFiHostedNetworkConnectedPeers) | Gets the list of currently connected peers. |
![]() | GetConnectionSettings(TwclWiFiHostedNetworkConnectionSettings) | Reads the information about the connection settings on the wireless Hosted Network. |
![]() | GetKey(Cardinal,Pointer,Boolean,Boolean) | Reads the secondary security key that is configured to be used by the wireless Hosted Network. |
![]() | GetLocalIp(string) | Gets the local IP address for the Hosted Network Virtual WiFi adapter. |
![]() | GetProfile(string) | Reads the wireless Hosted Network station profile. |
![]() | GetRemoteIp(string,string) | Gets the remote IP address for the device connected to Hosted Network Virtual WiFi adapter. |
![]() | GetSecuritySettings(TwclWiFiAuthCipherPair) | Reads the information about the security settings on the wireless Hosted Network. |
![]() | GetState(Boolean) | Reads the wireless Hosted Network enabled flag. |
![]() | GetStatus(TwclWiFiHostedNetworkStatus) | The function queries the current status of the wireless Hosted Network. |
![]() | InternalClose | Executes additional finalization produres. (Overrides TwclCustomWiFiComponent.InternalClose.) |
![]() | InternalOpen | Executes additional initialization produres. (Overrides TwclCustomWiFiComponent.InternalOpen.) |
![]() | Open | Opens the component. (Inherited from TwclCustomWiFiComponent.) |
![]() | RefreshSecuritySettings | The function refreshes the configurable and auto-generated parts of the wireless Hosted Network security settings. |
![]() | RequestAccess | The function requests access to the WiFi features on Win 11 24H2 and above. (Inherited from TwclCustomWiFiComponent.) |
![]() | Restart | Restarts the Hosted Network service. |
![]() | SetConnectionSettings(TwclWiFiHostedNetworkConnectionSettings) | Writes the information about the connection settings on the wireless Hosted Network. |
![]() | SetKey(Cardinal,Pointer,Boolean,Boolean) | The method configures the secondary security key that will be used by the wireless Hosted Network. |
![]() | SetPsdIe(string,TwclWiFiScanIeData) | Sets the proximity service discovery (PSD) information element (IE) data. |
![]() | SetState(Boolean) | Writes the wireless Hosted Network enabled flag. |
In order to receiver the Hosted Network notifications an application must use the TwclWiFiEvents component.



