Port range.
| C# |
public class PortRange
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| PortRange()()()() | Initializes a new instance of the PortRange class | |
| Equals(Object) | (Inherited from Object.) | |
| From |
The first port in the range.
A value of -1 indicates all ports.
| |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| IsSetFrom()()()() |
Checks if From property is set
| |
| IsSetTo()()()() |
Checks if To property is set
| |
| To |
The last port in the range.
A value of -1 indicates all ports
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithFrom(Decimal) | Obsolete.
Sets the first port in the range.
A value of -1 indicates all ports.
| |
| WithTo(Decimal) | Obsolete.
Sets the last port in the range.
A value of -1 indicates all ports
|
| Object | |
| PortRange | |