TwclWiFiHostedNetwork Class

The TwclWiFiHostedNetwork component provides access to the WiFi Hosted Network features.

Namespace: wclWiFi
type
 TwclWiFiHostedNetwork = class(TwclCustomWiFiMemoryComponent)
 end;

The TwclWiFiHostedNetwork type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates a new component. (Overrides TwclCustomWiFiComponent.Create(TComponent).)

Top
Show:
 NameDescription
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.)

Top
Show:
 NameDescription
Close

Closes the component. (Inherited from TwclCustomWiFiComponent.)

DoAfterOpen

Fires the AfterOpen event. (Inherited from TwclCustomWiFiComponent.)

DoBeforeClose

Fires the BeforeClose event. (Inherited from TwclCustomWiFiComponent.)

ElevatePrivileges

The function sets up privileges for Native WiFi. (Overrides TwclCustomWiFiComponent.ElevatePrivileges.)

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.

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.

Top

In order to receiver the Hosted Network notifications an application must use the TwclWiFiEvents component.