I am trying to capture the addresses currently used in the DNS server in my application, either I WIFI or Mobile DhcpInfo Object should be provided, but how can I capture a valid DhcpInfo object?
Calling for calling getRuntime (). Exec
can apply.
android.net.NetworkUtils.runDhcp ()
causes unnecessary network requests.
So I like to do this:
class
Comments
Post a Comment