#include <netutil.hpp>
|
static std::wstring | get_itf_id (const std::string &itf_name) |
|
static bool | interface_connected (const std::wstring &iid_str) |
| Check if an interface is connected and up.
|
|
Definition at line 22 of file netutil.hpp.
◆ get_itf_id()
static std::wstring openvpn::Win::NetApi::get_itf_id |
( |
const std::string & |
itf_name | ) |
|
|
inlinestatic |
Get the string interface UUID (with braces) for an interface alias name
- Parameters
-
itf_name | the interface alias name |
- Returns
- std::wstring the wide IID string
Definition at line 30 of file netutil.hpp.
◆ interface_connected()
static bool openvpn::Win::NetApi::interface_connected |
( |
const std::wstring & |
iid_str | ) |
|
|
inlinestatic |
Check if an interface is connected and up.
- Parameters
-
iid_str | the interface GUID string |
- Returns
- bool true if the interface is connected and up, false otherwise or in case an error happened
Definition at line 59 of file netutil.hpp.
The documentation for this struct was generated from the following file: