Get the interface operation mode. Only available with Npcap.
(self)
| 387 | return plain_str(res.strip()) |
| 388 | |
| 389 | def mode(self): |
| 390 | # type: () -> str |
| 391 | """Get the interface operation mode. |
| 392 | Only available with Npcap.""" |
| 393 | self._check_npcap_requirement() |
| 394 | return self._npcap_get("mode") |
| 395 | |
| 396 | def ismonitor(self): |
| 397 | # type: () -> bool |
no test coverage detected