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
stringThe domain this Record points to.
type
DnsResourceTypeThe type of this resource.
ttl
intThe TTL of this resource.
Properties
Address
Gets or sets the address that points to the domain.
public IPAddress Address { 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.