Esempio n. 1
0
 private void StopServerPipe()
 {
     try
     {
         ClientPipeConnection pipe = new ClientPipeConnection(_pipeName);
         if (pipe.TryConnect())
         {
             pipe.Close();
         }
     }
     catch
     {
         // Log exception
     }
 }
Esempio n. 2
0
 private void StopServerPipe()
 {
     try
     {
         ClientPipeConnection pipe = new ClientPipeConnection(_pipeName);
         if (pipe.TryConnect())
         {
             pipe.Close();
         }
     }
     catch
     {
         // Log exception
     }
 }