This isn't possible unless you hunt down Joe Belfiore, throw him out of his yacht, and hit him over the head with NativeWifi until it's in there.
The functionality isn't available in the Windows Phone API.
If it were, the app would already be in Store.
Microsoft doesn't want Apps that...