Brecham.Obex — An OBEX library for the .NET Framework

ObexClientSession Methods

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

Public Instance Methods

AbortOverloaded. Abort any existing operation and send an Abort command to the peer, optionally giving a message explaining the reason for aborting.
ClearConnectionId Resets the Connection Id. No Connection Id will be added to any subsequent commands sent to the peer.
ConnectOverloaded. Connect, optionally to a specified OBEX service / application.
DeleteOverloaded. Delete the given file or folder.
DisconnectOverloaded. Do a Disconnect command, optionally giving a message explaining the reason for disconnecting. Note that sending a disconnect command is optional, and does not close the connection.
Dispose Releases all resources used by the session, in particular releases the underlying stream, unless the CloseInput property is false.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetOverloaded. Initiates a Get operation, returning a Stream that the consumer reads the content from.
GetFolderListing Requests the folder-listing for the current folder, and returns the parsed contents as a ObexFolderListing instance.
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.
GetToOverloaded. Gets the specified object from the peer, and writes the content to the given Stream.
GetType (inherited from Object)Gets the Type of the current instance.
PutOverloaded. Initiates a Put operation, returning a Stream that the consumer writes the content to.
PutFromOverloaded. Put the contents of the given Stream to the peer.
SetPathOverloaded. Do a SetPath command asking to move to the given child folder, with the given options.
SetPathReset Do a SetPath command asking for the current folder to be set to the default folder.
SetPathUp Do a SetPath command asking for the current folder to be set to its parent folder.
ToString (inherited from Object)Returns a String that represents the current Object.
TryGetConnectionId Gets the Connection Id using the TryParse pattern.

See Also

ObexClientSession Class | Brecham.Obex Namespace