get_device


Description:

[ Version ( since = "1.0" ) ]
public unowned string get_device ()

Gets the physical modem device reference (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_device if on another thread.

Parameters:

this

A Modem.

Returns:

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




2022 vala-language.org