Perforce API for the .Net CLR P4.Net

P4Connection.Port Property

Gets/Sets the Perforce Server port.

[Visual Basic]
Public Property Port As String
[C#]
public string Port {get; set;}

Property Value

The port.

Remarks

Defaults to the value set in your Perforce environment. Port can not be changed after running Connect (not even after a Disconnect). To connect to a server on another port, create a new instance of P4Connection.

See Also

P4Connection Class | P4API Namespace