Close a connection
To disconnect from the P4 Server, your client application must call the Disconnect() method; for example:
Copy
// disconnect from the server
con.Disconnect();