Esempio n. 1
0
        private void SendCommandLineArgs(string[] args)
        {
            try
            {
                IpcClientChannel channel = new IpcClientChannel();
                ChannelServices.RegisterChannel(channel, false);

                RemotingConfiguration.RegisterActivatedClientType(typeof(RemotableObject), "ipc://pvp");

                RemotableObject proxy = new RemotableObject();
                proxy.BringToFront(_appGuid);
                proxy.ProcessArguments(_appGuid, args);
            }
            catch
            { // log it
            }
        }
Esempio n. 2
0
        private void SendCommandLineArgs(string[] args)
        {
            try
            {
                IpcClientChannel channel = new IpcClientChannel();

                ChannelServices.RegisterChannel(channel, false);
                RemotingConfiguration.RegisterActivatedClientType(typeof(RemotableObject), "ipc://pvp");

                RemotableObject proxy = new RemotableObject();

                proxy.BringToFront(_appGuid);
                proxy.ProcessArguments(_appGuid, args);
            }
            catch (Exception ex)
            {
                LOG.Error(ex, "{0} caused a(n) {1}", MethodBase.GetCurrentMethod().Name, ex.GetType().Name);
            }
        }
Esempio n. 3
0
        private void SendCommandLineArgs(string[] args)
        {
            try
            {
                IpcClientChannel channel = new IpcClientChannel();
                ChannelServices.RegisterChannel(channel, false);

                RemotingConfiguration.RegisterActivatedClientType(typeof(RemotableObject), "ipc://pvp");

                RemotableObject proxy = new RemotableObject();
                proxy.BringToFront(_appGuid);
                proxy.ProcessArguments(_appGuid, args);
            }
            catch
            { // log it
            }
        }