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
  • 73,011
  • 23
  • 185
  • 311
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,386
  • 26
  • 44