Domain Detective

API Reference

Class

CacheEntry

Namespace DnsClientX.DnsResponseCache

Wrapper class storing cached response together with its expiration timestamp.

Inheritance

  • Object
  • CacheEntry

Constructors

CacheEntry(DnsClientX.DnsResponse response, System.DateTimeOffset expiration) #

Initializes a new instance of the CacheEntry class.

Parameters

response DnsClientX.DnsResponse required
DNS response to cache.
expiration System.DateTimeOffset required
Expiration time of the cached entry.

Properties

Response #

Gets the cached DNS response.

Expiration #

Gets the expiration time for the cached entry.

{{ include "footer" }}