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
stringThe domain this Record points to.
type
DnsResourceTypeThe type of this resource.
ttl
intThe TTL of this resource.
Properties
Target
Gets or sets the target this resource points to.
public string Target { get; set; }
Property Value
Methods
GetBytesInternal()
Returns a byte[] representation of this Resource.
protected override byte[] GetBytesInternal()
Returns
- byte[]
A byte[] representation of this Resource.