mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 01:49:42 +02:00
test network stuff
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from core.utils.general.logs import consoleLog
|
||||
import psutil
|
||||
|
||||
|
||||
|
||||
def get_net_interfaces():
|
||||
addrs = psutil.net_if_addrs()
|
||||
for interface in addrs.keys():
|
||||
consoleLog(f"Found Interface: {interface}")
|
||||
return addrs.keys()
|
||||
Reference in New Issue
Block a user