Table of Contents

Class TargetResource

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

The base class for a Target Resource.

public abstract class TargetResource : Resource
Inheritance
TargetResource
Derived
Inherited Members

Constructors

TargetResource(string, DnsResourceType, int)

Initializes a new instance of the TargetResource class.

public TargetResource(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

Target

Gets or sets the target this resource points to.

public string Target { get; set; }

Property Value

string

Methods

GetBytesInternal()

Returns a byte[] representation of this Resource.

protected override byte[] GetBytesInternal()

Returns

byte[]

A byte[] representation of this Resource.