An NDoc Documented Class Library |

# PortRange.UseOSAssignment Property

Determines if the operating system should select the ports within the range 1024-5000.

public bool UseOSAssignment {get; set;}

#### Remarks

If `UseOSAssignment` is set to `true` then the OS will select data-channel ports within the range 1024-5000. Otherwise ports will be selected sequentially, increasing by one until the higher limit is reached and then wrapping around to the lower limit. Setting this flag will cause LowPort and HighPort to be set to 1024 and 5000, respectively.

#### See Also

PortRange Class | EnterpriseDT.Net.Ftp Namespace