Share this page

# FindPort

.NET Vuser Functions

Finds a unique port.

    int LrReplayUtils.FindPort();

FindPort retrieves a unique port for use with the .NET script.

Note: Do not add this function manually to a script. It is generated by VuGen automatically.

## Parameterization

Parameterization is not applicable to this function.

## Example

This example shows the retrieving of a unique port.

    int portid=LrReplayUtils.FindPort();

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: