WksRecord Constructor
Creates a new instance of the WksRecord class
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public WksRecord(
DomainName name,
int timeToLive,
IPAddress address,
ProtocolType protocol,
List<ushort> ports
)
Public Sub New (
name As DomainName,
timeToLive As Integer,
address As IPAddress,
protocol As ProtocolType,
ports As List(Of UShort)
)
public:
WksRecord(
DomainName^ name,
int timeToLive,
IPAddress^ address,
ProtocolType protocol,
List<unsigned short>^ ports
)
new :
name : DomainName *
timeToLive : int *
address : IPAddress *
protocol : ProtocolType *
ports : List<uint16> -> WksRecord
Parameters
- name DomainName
- Name of the host
- timeToLive Int32
- Seconds the record should be cached at most
- address IPAddress
- IP address of the host
- protocol ProtocolType
- Type of the protocol
- ports ListUInt16
- List of ports which are supported by the host