public static List<NetworkInterface> getNetworkInterfaceList() {
		List<NetworkInterface> networkInterfaceList = new ArrayList<NetworkInterface>();
		try {
			for (Enumeration<NetworkInterface> interfaces = NetworkInterface
					.getNetworkInterfaces(); interfaces.hasMoreElements();) {
				NetworkInterface networkInterface = interfaces.nextElement();
				if ((networkInterface.isLoopback())
						|| (networkInterface.isVirtual())
						|| (!networkInterface.isUp())
						|| (networkInterface.isPointToPoint()))
					continue;
				networkInterfaceList.add(networkInterface);
			}
		} catch (SocketException e) {
			e.printStackTrace();
		}
		return networkInterfaceList;
	}