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; }