Automatically detect private IP on Windows