问题
I want to monitor the DNS address. I need to get the TTL
(time to live) which tells me when the DNS record will expire.
How do I obtain the TTL in C#??
回答1:
There is .Net sample code at C# .NET DNS query component that appears to provide the API you require.
来源:https://stackoverflow.com/questions/14545973/how-obtain-ttltime-to-live-in-dns