code: def get_network_adapter(self, slot):
          
          if not isinstance(slot, baseinteger):
              raise TypeError("slot can only be an instance of type baseinteger")
          adapter = self._call("getNetworkAdapter",
                       in_p=[slot])
          adapter = INetworkAdapter(adapter)
          return adapter
docs: Returns the network adapter associated with the given slot.
          Slots are numbered sequentially, starting with zero. The total
          number of adapters per machine is defined by the
          :py:func:`ISystemProperties.get_max_network_adapters`  property,
          so the maximum slot number is one less than that property's value.
  
          in slot of type int
  
          return adapter of type :class:`INetworkAdapter`
  
          raises :class:`OleErrorInvalidarg`
              Invalid @a slot number.