Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Question.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
5
7{
11 public class Question
12 {
13 private readonly string qNAME;
14 private readonly QTYPE qTYPE;
15 private readonly QCLASS qCLASS;
16
24 {
25 this.qNAME = QNAME;
26 this.qTYPE = QTYPE;
27 this.qCLASS = QCLASS;
28 }
29
33 public string QNAME => this.qNAME;
34
38 public QTYPE QTYPE => this.qTYPE;
39
43 public QCLASS QCLASS => this.qCLASS;
44
46 public override string ToString()
47 {
48 return this.qNAME + "\t" + this.qTYPE.ToString() + "\t" + this.qCLASS.ToString();
49 }
50 }
51}
Contains information about a DNS Question
Definition: Question.cs:12
Question(string QNAME, QTYPE QTYPE, QCLASS QCLASS)
Contains information about a DNS Question
Definition: Question.cs:23
QTYPE
QTYPE fields appear in the question part of a query.
Definition: QTYPE.cs:11
QCLASS
QCLASS fields appear in the question section of a query.
Definition: QCLASS.cs:11