System.Runtime.Remoting.Channels.Ipc.IpcClientChannel Class

Implements a client channel for remote calls that uses the IPC protocol to transmit messages.

See Also: IpcClientChannel Members


public class IpcClientChannel : System.Runtime.Remoting.Channels.IChannelSender


Channels are used by the.NET Framework remoting infrastructure to transport remote calls. When a client calls a remote object, the call is serialized into a message that is sent by a client channel and received by a server channel. After the message is received, it is deserialized and processed. Any returned values are transmitted by the server channel and received by the client channel.

The System.Runtime.Remoting.Channels.Ipc.IpcClientChannel class uses the Windows interprocess communication (IPC) system to transport messages between application domains on the same computer. When communicating between application domains on the same computer, the IPC channel is much faster than the TCP or HTTP channels.

To perform additional processing of messages on the client side, you can specify an implementation of the System.Runtime.Remoting.Channels.IClientChannelSinkProvider interface through which all messages processed by the System.Runtime.Remoting.Channels.Ipc.IpcClientChannel object will be passed.

By default, the System.Runtime.Remoting.Channels.Ipc.IpcClientChannel class uses a binary formatter to serialize all messages.

A System.Runtime.Remoting.Channels.Ipc.IpcClientChannel object has associated configuration properties that can be set at run time either in a configuration file (by invoking the static System.Runtime.Remoting.RemotingConfiguration.Configure(string) method) or programmatically (by passing a IDictionary collection to the IpcClientChannel.#ctor(IDictionary, System.Runtime.Remoting.Channels.IClientChannelSinkProvider) constructor). For a list of these configuration properties, see the documentation for the IpcClientChannel.#ctor(IDictionary, System.Runtime.Remoting.Channels.IClientChannelSinkProvider) constructor.


Namespace: System.Runtime.Remoting.Channels.Ipc
Assembly: System.Runtime.Remoting (in System.Runtime.Remoting.dll)
Assembly Versions:
Since: .NET 2.0