Esempio n. 1
0
        static void  IPCAdminBridgeTest()
        {
            var server = new PipeClient();
            // TODO relative paths
            var bridgePath   = @"C:\Users\franc\source\repos\Bolter\BridgeProcess\bin\Debug\netcoreapp3.1\BridgeProcess.exe";
            var adminAppPath = @"C:\Users\franc\source\repos\Bolter\Bolter\Resources\BolterAdminApp.exe";

            server.ConnectToBridge(adminAppPath, bridgePath);
            Console.WriteLine("Connected");
            server.SendMessage("unblock");
            server.SendMessage("ooo");
            Thread.Sleep(2000);
            server.Stop();
        }