I'm developing captive portal with windows hostednetwork. I'm stucking in deny/grant internet part. DNS Server doesn't fit because when i want to disconnect user, downloads doesn't stop. Also client dns cache not ask every time to dns. Capture api's only capture the traffic. Can't block (at least for client)
What i need?
I need a dll (with source). I will use dll with C# .Net 4.5 Framework but it should be COM visible so i can use with Delphi. After i start the hostednetwork with netsh command, i will call BlockEveryBody command. People can connect the wi-fi but not access to internet. Every request will be blocked except http requests. Http requests will redirect to host's web server (192.168.137.1:80) Write WIFIACCESS with your bid so i can understand you read that.
I will allow who i want client with AllowClient method. And when i want, i can block with BlockClient method. Even downloads on clients and streams will stop.
I guess it need a low-level programming and i don't know C or C++.