4

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#??

Johan
  • 74,508
  • 24
  • 191
  • 319
arbab333
  • 41
  • 3

1 Answers1

3

There is .Net sample code at C# .NET DNS query component that appears to provide the API you require.

Pekka
  • 3,529
  • 27
  • 45