get_physdev


Description:

[ Version ( since = "1.22" ) ]
public unowned string get_physdev ()

Gets the physical modem device path (ie, USB, PCI, PCMCIA device), which may be dependent upon the operating system.

<warning>The returned value is only valid until the property changes so it is only safe to use this function on the thread where this was constructed. Use dup_physdev if on another thread.</warning>

Parameters:

this

A Modem.

Returns:

The physdev path, or null if none available. Do not free the returned value, it belongs to this.