Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetPipePath()

static string System.IO.Pipes.PipeStream.GetPipePath ( string serverName,
string pipeName )
inlinestaticpackage

Definition at line 831 of file PipeStream.cs.

832 {
833 string fullPath = Path.GetFullPath("\\\\" + serverName + "\\pipe\\" + pipeName);
834 if (string.Equals(fullPath, "\\\\.\\pipe\\anonymous", StringComparison.OrdinalIgnoreCase))
835 {
836 throw new ArgumentOutOfRangeException("pipeName", System.SR.ArgumentOutOfRange_AnonymousReserved);
837 }
838 return fullPath;
839 }
static string ArgumentOutOfRange_AnonymousReserved
Definition SR.cs:28
Definition SR.cs:7

References System.SR.ArgumentOutOfRange_AnonymousReserved, and System.IO.Path.GetFullPath().

Referenced by System.IO.Pipes.NamedPipeClientStream.NamedPipeClientStream().