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;
2using System.Collections.Generic;
3using System.IO;
4using System.Text;
8
10{
15 {
16 private string name2;
17
22 : base()
23 {
24 this.name2 = string.Empty;
25 }
26
35 public ResourceNameRecord(string Name, TYPE Type, CLASS Class, uint Ttl,
36 Stream Data)
37 : base(Name, Type, Class, Ttl)
38 {
39 this.name2 = DnsClient.ReadName(Data);
40 }
41
45 [DefaultValueStringEmpty]
46 public string Name2
47 {
48 get => this.name2;
49 set => this.name2 = value;
50 }
51
53 public override string ToString()
54 {
55 return base.ToString() + "\t" + this.name2;
56 }
57 }
58}
Abstract base class for DNS clients.
Definition: DnsClient.cs:21
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:11
TYPE
TYPE fields are used in resource records.
Definition: TYPE.cs:11