IpSecKeyRecord(DomainName, Int32, Byte, IpSecKeyRecordIpSecAlgorithm, DomainName, Byte) Constructor
Creates a new instance of the IpSecKeyRecord class
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public IpSecKeyRecord(
DomainName name,
int timeToLive,
byte precedence,
IpSecKeyRecordIpSecAlgorithm algorithm,
DomainName gateway,
byte[] publicKey
)
Public Sub New (
name As DomainName,
timeToLive As Integer,
precedence As Byte,
algorithm As IpSecKeyRecordIpSecAlgorithm,
gateway As DomainName,
publicKey As Byte()
)
public:
IpSecKeyRecord(
DomainName^ name,
int timeToLive,
unsigned char precedence,
IpSecKeyRecordIpSecAlgorithm algorithm,
DomainName^ gateway,
array<unsigned char>^ publicKey
)
new :
name : DomainName *
timeToLive : int *
precedence : byte *
algorithm : IpSecKeyRecordIpSecAlgorithm *
gateway : DomainName *
publicKey : byte[] -> IpSecKeyRecord
Parameters
- name DomainName
- Name of the record
- timeToLive Int32
- Seconds the record should be cached at most
- precedence Byte
- Precedence of the record
- algorithm IpSecKeyRecordIpSecAlgorithm
- Algorithm of the key
- gateway DomainName
- Address of the gateway
- publicKey Byte
- Binary data of the public key