• DnsClient
  • Readme
  • Api Docs
  • MichaCo.net
This site uses "cookies" - small data files stored locally on your computer - to save information about your preferences when using this site. Learn More.

    Show / Hide Table of Contents

    Class ResourceRecordInfo

    The type represents a DnsResourceRecord.

    Inheritance
    Object
    ResourceRecordInfo
    DnsResourceRecord
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: DnsClient.Protocol
    Assembly: DnsClient.dll
    Syntax
    public class ResourceRecordInfo

    Constructors

    | Improve this Doc View Source

    ResourceRecordInfo(DnsString, ResourceRecordType, QueryClass, Int32, Int32)

    Initializes a new instance of the ResourceRecordInfo class.

    Declaration
    public ResourceRecordInfo(DnsString domainName, ResourceRecordType recordType, QueryClass recordClass, int timeToLive, int rawDataLength)
    Parameters
    Type Name Description
    DnsString domainName

    The DnsString used by the query.

    ResourceRecordType recordType

    Type of the record.

    QueryClass recordClass

    The record class.

    Int32 timeToLive

    The time to live.

    Int32 rawDataLength

    Length of the raw data.

    Exceptions
    Type Condition
    ArgumentNullException

    If domainName is null or empty.

    | Improve this Doc View Source

    ResourceRecordInfo(String, ResourceRecordType, QueryClass, Int32, Int32)

    Initializes a new instance of the ResourceRecordInfo class.

    Declaration
    public ResourceRecordInfo(string domainName, ResourceRecordType recordType, QueryClass recordClass, int timeToLive, int rawDataLength)
    Parameters
    Type Name Description
    String domainName

    The domain name used by the query.

    ResourceRecordType recordType

    Type of the record.

    QueryClass recordClass

    The record class.

    Int32 timeToLive

    The time to live.

    Int32 rawDataLength

    Length of the raw data.

    Exceptions
    Type Condition
    ArgumentNullException

    If domainName is null.

    Properties

    | Improve this Doc View Source

    DomainName

    The domain name used to query.

    Declaration
    public DnsString DomainName { get; }
    Property Value
    Type Description
    DnsString
    | Improve this Doc View Source

    InitialTimeToLive

    Gets or sets the original time to live returned from the server.

    Declaration
    public int InitialTimeToLive { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    RawDataLength

    Gets the number of bytes for this resource record stored in RDATA

    Declaration
    public int RawDataLength { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    RecordClass

    Specifies type class of resource record, mostly IN but can be CS, CH or HS .

    Declaration
    public QueryClass RecordClass { get; }
    Property Value
    Type Description
    QueryClass
    | Improve this Doc View Source

    RecordType

    Specifies type of resource record.

    Declaration
    public ResourceRecordType RecordType { get; }
    Property Value
    Type Description
    ResourceRecordType
    | Improve this Doc View Source

    TimeToLive

    Gets the current time to live value for the record.

    Declaration
    public int TimeToLive { get; }
    Property Value
    Type Description
    Int32
    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net