I was on WiFi Network in my Windows 10, get active interface returns the Ethernet interface instead of WiFi interface.