Using computer's wifi capability to get internet connection

This is the documentation... HttpListener Class (System.Net) | Microsoft Learn
It just listens for http requests and can send a response web page.