esp8266WiFi.h library

i want to get the mac address of the connected router or the hot spot device ?
is there a function or a way to get it and print it on serial monitor ?