Connecting to wifi using kodi

Hey,

I have a PC set to just boot up kodi and sometimes I bring it with me to friends. Just wondering if it’s possible to connect to wifi via kodi instead of doing it via windows.

Thanks