Sometimes, when dealing with other network devices I need to find out what is the IP address of my computer.

Actually this question isn't exact, but this is how we usually talk. A computer does not have an IP address. A network interface has IP address. A computer can have multiple network interfaces, though in the majority of cases of private computers there is only one working network interface at a time.