InterfaceInfo#

class itala.itala.InterfaceInfo#

Bases: object

This class stores information about an available interface and represents its identity. When an enumeration is performed via the ISystem interface, a list of InterfaceInfo is returned as result. To enumerate the available devices under a specific interface, the user must pass the corresponding InterfaceInfo instance to the dedicated ISystem::EnumerateDevices function.

property thisown#

The membership flag

property id: str#

Get the unique ID of the interface. The ID of an interface is a string used to uniquely identify the interface in the current execution context.

Return type:

GENICAM_NAMESPACE::gcstring

Returns:

Unique ID of the interface

property display_name: str#

Get a string containing the user readable name of the interface.

Return type:

GENICAM_NAMESPACE::gcstring

Returns:

Name of the interface

property ip_address: int#

Get an unsigned 32 bit integer containing the IP address of the interface in host byte order. For instance, the value 0xC0A8012A represents the IP address 192.168.1.42 in IPv4 dotted-decimal notation. - 0xC0 = 192 - 0xA8 = 168 - 0x01 = 1 - 0x2A = 42

Return type:

int

Returns:

IP address of the interface as integer in host byte order.

property mac_address: int#

Get an unsigned 64 bit integer containing the mac address of the interface in host byte order. A 64 bit integer is required since the MAC address is 6 bytes long. For instance, the value 0x0000885FE8200001 represents the mac address 88:5f:e8:20:00:01 in colon-heaxadecimal notation.

Return type:

int

Returns:

MAC address of the integer as integer in host byte order.

property subnet_mask: int#

Get the subnet mask of the interface in the same format described in IpAddress().

Return type:

int

Returns:

Subnet mask of the device as integer in host byte order.

See also: IpAddress()