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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -