Click or drag to resize

P4Server Constructor (String, String, String, String, String, String, String)

Create a P4BridgeServer used to connect to the specified P4Server

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public P4Server(
	string server,
	string user,
	string pass,
	string ws_client,
	string cwd,
	string trust_flag,
	string fingerprint
)

Parameters

server
Type: SystemString
Host:port for the P4 server.
user
Type: SystemString
User name for the login. Can be null/blank if only running commands that do not require a login.
pass
Type: SystemString
Password for the login. Can be null/blank if only running commands that do not require a login.
ws_client
Type: SystemString
Workspace (client) to be used by the connection. Can be null/blank if only running commands that do not require a login.
cwd
Type: SystemString
Current working directory
trust_flag
Type: SystemString
Trust or not
fingerprint
Type: SystemString
Fingerprint to trust
See Also