Perforce API for the .Net CLR P4.Net

P4Connection Methods

The methods of the P4Connection class are listed below. For a complete list of P4Connection class members, see the P4Connection Members topic.

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.
GetType (inherited from Object)Gets the Type of the current instance.
IsServerCaseSensitive Checks the case-sensitivity of the Perforce server.
IsValidConnection Determines if the Perforce connection is valid.
Login Login to the Perforce Server
Parse_Form Parse the raw text of a Perforce form into a P4Form object
PrintBinary Print the contents of a file in Perforce to a byte array.
PrintStreamOverloaded. Prints the contents of a Perforce file to a Stream.
PrintStreamEvents Runs a print command, and raises events for each file printed.
PrintText Print the contents of a file in Perforce to a string.
Run Executes a Perforce command in tagged mode.
RunCallback Runs the specified command, calling the appropriate callback methods as Perforce returns information.
RunCallbackUnparsed Runs the callback unparsed.
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.

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