• 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 NullRecord

    Experimental RR, not sure if the implementation is actually correct either (not tested).

    Inheritance
    Object
    ResourceRecordInfo
    DnsResourceRecord
    NullRecord
    Inherited Members
    DnsResourceRecord.ToString()
    DnsResourceRecord.ToString(Int32)
    ResourceRecordInfo.DomainName
    ResourceRecordInfo.RecordType
    ResourceRecordInfo.RecordClass
    ResourceRecordInfo.TimeToLive
    ResourceRecordInfo.InitialTimeToLive
    ResourceRecordInfo.RawDataLength
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: DnsClient.Protocol
    Assembly: DnsClient.dll
    Syntax
    public class NullRecord : DnsResourceRecord

    Constructors

    | Improve this Doc View Source

    NullRecord(ResourceRecordInfo, Byte[])

    Initializes a new instance of the NullRecord class.

    Declaration
    public NullRecord(ResourceRecordInfo info, byte[] anything)
    Parameters
    Type Name Description
    ResourceRecordInfo info

    The information.

    Byte[] anything

    Anything.

    Exceptions
    Type Condition
    ArgumentNullException

    If info or anything is null.

    Properties

    | Improve this Doc View Source

    Anything

    Gets any data stored in this record.

    Declaration
    public byte[] Anything { get; }
    Property Value
    Type Description
    Byte[]

    The byte array.

    | Improve this Doc View Source

    AsString

    Gets the raw data of this record as UTF8 string.

    Declaration
    public string AsString { get; }
    Property Value
    Type Description
    String

    See Also

    RFC 1035
    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net