Table of Contents

Class AddressResource

Namespace
Iot.Device.MulticastDns.Entities
Assembly
Iot.Device.MulticastDns.dll

The base class for Address resources.

public abstract class AddressResource : Resource
Inheritance
AddressResource
Derived
Inherited Members

Constructors

AddressResource(string, DnsResourceType, int)

Initializes a new instance of the AddressResource class.

public AddressResource(string domain, DnsResourceType type, int ttl)

Parameters

domain string

The domain this Record points to.

type DnsResourceType

The type of this resource.

ttl int

The TTL of this resource.

Properties

Address

Gets or sets the address that points to the domain.

public IPAddress Address { get; set; }

Property Value

IPAddress

Methods

GetBytesInternal()

Returns a byte[] representation of this Resource.

protected override byte[] GetBytesInternal()

Returns

byte[]

A byte[] representation of this Resource.