Méthode | Description | |
---|---|---|
ClientPipeConnection ( string name ) : System |
Creates an instance of the ClientPipeConnection assuming that the server pipe is created on the same machine. The maximum bytes to read from the client is set to be Int32.MaxValue. |
|
ClientPipeConnection ( string name, string server ) : System |
Creates an instance of the ClientPipeConnection specifying the network name of the server. The maximum bytes to read from the client is set to be Int32.MaxValue. |
|
Close ( ) : void |
Closes a client named pipe connection. A client pipe connection is closed by closing the underlying pipe handle. |
|
Connect ( ) : void |
Connects a client pipe to an existing server one.
|
|
TryConnect ( ) : bool |
Attempts to establish a connection to the a server named pipe. If the attempt is successful the method creates the field. |
public ClientPipeConnection ( string name ) : System | ||
name | string | The name of the server pipe. |
Résultat | System |
public ClientPipeConnection ( string name, string server ) : System | ||
name | string | The name of the server pipe. |
server | string | The network name of the machine, where the server pipe is created. |
Résultat | System |