|
static bool | IsAvailable () |
| Returns true if the required interface is available.
|
|
uint32_t pp::NetworkList::GetCount |
( |
| ) |
const |
- Returns
- Returns the number of available network interfaces or 0 if the list has never been updated.
std::string pp::NetworkList::GetDisplayName |
( |
uint32_t |
index | ) |
const |
- Returns
- Returns the display name for the network interface with the specified
index
.
int32_t pp::NetworkList::GetIpAddresses |
( |
uint32_t |
index, |
|
|
std::vector< NetAddress > * |
addresses |
|
) |
| const |
Gets the list of IP addresses for the network interface with the specified index
and stores them in addresses
.
uint32_t pp::NetworkList::GetMTU |
( |
uint32_t |
index | ) |
const |
- Returns
- Returns the MTU for the network interface with the specified
index
.
std::string pp::NetworkList::GetName |
( |
uint32_t |
index | ) |
const |
- Returns
- Returns the name for the network interface with the specified
index
.
PP_NetworkList_State pp::NetworkList::GetState |
( |
uint32_t |
index | ) |
const |
- Returns
- Returns the current state of the network interface with the specified
index
.
PP_NetworkList_Type pp::NetworkList::GetType |
( |
uint32_t |
index | ) |
const |
- Returns
- Returns the type of the network interface with the specified
index
.
The documentation for this class was generated from the following file: