/// <summary> /// Initializes a new instance of the <see cref="DotRas.RasIkeV2Info"/> class. /// </summary> /// <param name="ipv4NegotiationErrorCode">The result of a PPP IPv4 network control protocol negotiation.</param> /// <param name="ipv4Address">The IP address of the local client.</param> /// <param name="serverIPv4Address">The IP address of the remote server.</param> /// <param name="ipv6NegotiationErrorCode">The result of a PPP IPv6 network control protocol negotiation.</param> /// <param name="ipv6Address">The IPv6 address of the local client.</param> /// <param name="serverIPv6Address">The IPv6 address of the remote server.</param> /// <param name="prefixLength">The length of the IPv6 prefix.</param> /// <param name="authenticationProtocol">The authentication protocol used to authenticate the remote server.</param> /// <param name="eapTypeId">The type identifier of the Extensible Authentication Protocol (EAP) used to authenticate the client.</param> /// <param name="options">The IKEv2 options.</param> /// <param name="encryptionMethod">The encryption method used by the connection.</param> /// <param name="serverIPv4Addresses">The collection of available IPv4 addresses the server can switch to on the IKEv2 connection.</param> /// <param name="serverIPv6Addresses">The collection of available IPv6 addresses the server can switch to on the IKEv2 connection.</param> internal RasIkeV2Info(int ipv4NegotiationErrorCode, IPAddress ipv4Address, IPAddress serverIPv4Address, int ipv6NegotiationErrorCode, IPAddress ipv6Address, IPAddress serverIPv6Address, int prefixLength, RasIkeV2AuthenticationType authenticationProtocol, int eapTypeId, RasIkeV2Options options, RasIPSecEncryptionType encryptionMethod, Collection <IPAddress> serverIPv4Addresses, Collection <IPAddress> serverIPv6Addresses) { IPv4NegotiationErrorCode = ipv4NegotiationErrorCode; IPv4Address = ipv4Address; ServerIPv4Address = serverIPv4Address; IPv6NegotiationErrorCode = ipv6NegotiationErrorCode; IPv6Address = ipv6Address; ServerIPv6Address = serverIPv6Address; PrefixLength = prefixLength; AuthenticationProtocol = authenticationProtocol; EapTypeId = eapTypeId; Options = options; EncryptionMethod = encryptionMethod; ServerIPv4Addresses = serverIPv4Addresses; ServerIPv6Addresses = serverIPv6Addresses; }
/// <summary> /// Initializes a new instance of the <see cref="DotRas.RasIkeV2Info"/> class. /// </summary> /// <param name="ipv4NegotiationErrorCode">The result of a PPP IPv4 network control protocol negotiation.</param> /// <param name="ipv4Address">The IP address of the local client.</param> /// <param name="serverIPv4Address">The IP address of the remote server.</param> /// <param name="ipv6NegotiationErrorCode">The result of a PPP IPv6 network control protocol negotiation.</param> /// <param name="ipv6Address">The IPv6 address of the local client.</param> /// <param name="serverIPv6Address">The IPv6 address of the remote server.</param> /// <param name="prefixLength">The length of the IPv6 prefix.</param> /// <param name="authenticationProtocol">The authentication protocol used to authenticate the remote server.</param> /// <param name="eapTypeId">The type identifier of the Extensible Authentication Protocol (EAP) used to authenticate the client.</param> /// <param name="options">The IKEv2 options.</param> /// <param name="encryptionMethod">The encryption method used by the connection.</param> /// <param name="serverIPv4Addresses">The collection of available IPv4 addresses the server can switch to on the IKEv2 connection.</param> /// <param name="serverIPv6Addresses">The collection of available IPv6 addresses the server can switch to on the IKEv2 connection.</param> internal RasIkeV2Info(int ipv4NegotiationErrorCode, IPAddress ipv4Address, IPAddress serverIPv4Address, int ipv6NegotiationErrorCode, IPAddress ipv6Address, IPAddress serverIPv6Address, int prefixLength, RasIkeV2AuthenticationType authenticationProtocol, int eapTypeId, RasIkeV2Options options, RasIPSecEncryptionType encryptionMethod, Collection<IPAddress> serverIPv4Addresses, Collection<IPAddress> serverIPv6Addresses) { this.IPv4NegotiationErrorCode = ipv4NegotiationErrorCode; this.IPv4Address = ipv4Address; this.ServerIPv4Address = serverIPv4Address; this.IPv6NegotiationErrorCode = ipv6NegotiationErrorCode; this.IPv6Address = ipv6Address; this.ServerIPv6Address = serverIPv6Address; this.PrefixLength = prefixLength; this.AuthenticationProtocol = authenticationProtocol; this.EapTypeId = eapTypeId; this.Options = options; this.EncryptionMethod = encryptionMethod; this.ServerIPv4Addresses = serverIPv4Addresses; this.ServerIPv6Addresses = serverIPv6Addresses; }