PipeClient(TMessage).Create Method

Tungsten Suite

PipeClientTMessageCreate Method

Creates a new PipeClient and attempts to connect the pipe to a pipe server

Namespace:  W.IO.Pipes
Assembly:  Tungsten.IO.Pipes (in Tungsten.IO.Pipes.dll) Version: 2.0.3
Syntax
C#
public static PipeClient Create(
	string serverName,
	string pipeName,
	TokenImpersonationLevel tokenImpersonationLevel,
	int msTimeout
)

Parameters

serverName
Type: SystemString
The name or ip of the machine hosting the server pipe
pipeName
Type: SystemString
The name of the pipe
tokenImpersonationLevel
Type: System.Security.PrincipalTokenImpersonationLevel
The impersonation type for the pipe to use
msTimeout
Type: SystemInt32
The maximum amount of time, in milliseconds, to wait for the server to connect

Return Value

Type: PipeClient
True if a connection was established, otherwise False
See Also