IpcChannel Constructor (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the IpcChannel class with a server channel that listens on the specified IPC port.

Namespace:   System.Runtime.Remoting.Channels.Ipc
Assembly:  System.Runtime.Remoting (in System.Runtime.Remoting.dll)

public IpcChannel(
	string portName


Type: System.String

The name of the IPC port.

The following code example shows how to use this constructor. This code example is part of a larger example provided for the IpcChannel class.

// Create the server channel.
IpcChannel serverChannel = 
    new IpcChannel("localhost:9090"); 

.NET Framework
Available since 2.0
Return to top