It doesn't use the net/TCPIP it uses the hardware that is running on the machine. If you have no network connection but still have the network hardware (usually built into the motherboard but could also be a card/usb adapter) it will use that when it generates its fingerprint for your machine. If a device driver is installed, making the hardware visible, it gets used.
If you had no network cards at all, it would do something else (some apps I've used fail and require a network card). What matters is not the network connection but rather the hardware that the device driver identifies. In my case I have two network ports on this motherboard but if I disable one of them some of my software will stop working, even though no network packets/cable has ever been plugged into that port.