Class DNSPacketAsk
Represents a DNS translation request packet.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Cosmos.System.Network.IPv4.UDP.DNS
Assembly: Cosmos.System2.dll
Syntax
public class DNSPacketAsk : DNSPacket
Constructors
| Improve this Doc View SourceDNSPacketAsk(Address, Address, String)
Initializes a new instance of the UDPPacket class.
Declaration
public DNSPacketAsk(Address source, Address dest, string url)
Parameters
Type | Name | Description |
---|---|---|
Address | source | Source address. |
Address | dest | DNS Server address. |
System.String | url | Domain name string. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown if RawData is invalid or null. |
DNSPacketAsk(Byte[])
Initializes a new instance of the DNSPacketAsk class.
Declaration
public DNSPacketAsk(byte[] rawData)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | rawData | Raw data. |