TwclMobileHotspot.SetBand(TwclMobileHotspotBand) Method

Sets the wireless frequency band of the WiFi Mobile Hotspot. Use IsBandSupported to check whether the WiFi adapter allows configuring a specific frequency band.

Namespace: wclWiFi
public
 function SetBand(const Band: TwclMobileHotspotBand): Integer;

Parameters

Band
Type: TwclMobileHotspotBand

A TwclMobileHotspotBand constant, specifying the frequency band.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

This feature is supported on Windows 10 2004 abd above.