ChooseInterface Method

void ChooseInterface(int index)

Summary

This method selects one of the available network interfaces on the PC as the interface on which the ETH32 Configuration / Detection API (Eth32Config class) should sniff for responses from ETH32 devices. This does not affect the main API functionality (the Eth32 class). The interface list must have been previously obtained using the GetInterfaces Method and the provided index must be a valid index within that list. Currently, this function is only applicable when the WinPcap plugin is loaded. Otherwise, the EthError.NotSupported will be raised.

Parameters

  • index - The index of the interface in the previously-obtained interface list which should be chosen for sniffing responses

Return Value

This method does not return a value.

See Also

GetInterfaces Method