visual studio - Using c# property DHCPLeaseLifetime -


i looking way find out , use how lifetime left in dhcp lease , ms has documentation here, guess not sure how use property. haven't been able find much.

here's link

you might want consider the msdn example.
illustrates how lease lifetime.

the (condensed) version of example future reference:

    each adapter in net.networkinformation.networkinterface.getallnetworkinterfaces()         each uni in adapter.getipproperties().unicastaddresses             console.writeline("  unicast address ......................... : {0}", uni.address)             console.writeline("  dhcp leased life time ................ : {0}", uni.dhcpleaselifetime)         next uni     next adapter 

Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -