Perforce API for the .Net CLR P4.Net

P4Connection Members

P4Connection overview

Public Instance Constructors

P4Connection Constructor Initializes a new instance of the P4Connection class.

Public Instance Properties

CallingProgram Get/Sets the name of the calling program.
CallingVersion Gets/Sets the version of the calling program's version.
Charset Gets/Sets the client character set.
Client Gets/Sets the client workspace.
CWD Gets/Sets the current working directory.
ExceptionLevel Gets/Sets the Exception level when running Perforce commands.
Host Gets/Sets the Host-name of the client.
Password Sets the password to conenct with.
Port Gets/Sets the Perforce Server port.
TicketFile Sets the ticket file used for Authentication.
User Gets/Sets the User login used to connect to Perforce.

Public Instance Methods

Connect Connect to the Perforce server
ConvertDateOverloaded. Converts Perforce date (integer) to .Net DateTime.
CreatePendingChangelist Creates a new pending changelist.
Disconnect Disconnect from the Perforce Server
Dispose Calls Disconnect.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Fetch_Form Fetch a form object from Perforce.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
IsValidConnection Determines if the Perforce connection is valid.
Login Login to the Perforce Server
Run Executes a Perforce command in tagged mode.
RunUnParsed Executes a Perforce command in non-tagged mode.
Save_FormOverloaded. Saves the form to Perforce.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

OnPrompt Raised when Perforce is prompting for a response.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

P4Connection Class | P4API Namespace