AWS SDK for .NET Documentation
ToPort Property
AmazonAmazon.EC2.ModelAuthorizeSecurityGroupIngressRequestToPort Did this page help you?   Yes   No    Tell us about it...
The end of port range for the TCP and UDP protocols, or an ICMP code number. For the ICMP code number, you can use -1 to specify all ICMP codes for the given ICMP type.
Declaration Syntax
C#
public decimal ToPort { get; set; }

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)