Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ResourceNameRecord.cs
1using System.IO;
5
7{
12 {
13 private string name2;
14
19 : base()
20 {
21 this.name2 = string.Empty;
22 }
23
32 public ResourceNameRecord(string Name, TYPE Type, CLASS Class, uint Ttl,
33 Stream Data)
34 : base(Name, Type, Class, Ttl)
35 {
36 this.name2 = DnsClient.ReadName(Data);
37 }
38
42 [DefaultValueStringEmpty]
43 public string Name2
44 {
45 get => this.name2;
46 set => this.name2 = value;
47 }
48
50 public override string ToString()
51 {
52 return base.ToString() + "\t" + this.name2;
53 }
54 }
55}
Abstract base class for DNS clients.
Definition: DnsClient.cs:22
Abstract base class for resource records referring to a name.
ResourceNameRecord(string Name, TYPE Type, CLASS Class, uint Ttl, Stream Data)
Abstract base class for resource records referring to a name.
ResourceNameRecord()
Abstract base class for resource records referring to a name.
Abstract base class for a resource record.
CLASS
TYPE fields are used in resource records.
Definition: CLASS.cs:7
TYPE
TYPE fields are used in resource records.
Definition: TYPE.cs:7