public static void PostRequest(string appName, string request)
 {
     try
     {
         using (IPCRemoteControlProxy rcp = new IPCRemoteControlProxy(appName))
         {
             (rcp as IRemoteControl).PostRequest(request);
         }
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
     }
 }
        public static string SendRequest(string appName, string request)
        {
            try
            {
                using (IPCRemoteControlProxy rcp = new IPCRemoteControlProxy(appName))
                {
                    return((rcp as IRemoteControl).SendRequest(request));
                }
            }
            catch (Exception ex)
            {
                Logger.LogException(ex);
            }

            return(null);
        }
 public static void PostRequest(string appName, string request)
 {
     try
     {
         using (IPCRemoteControlProxy rcp = new IPCRemoteControlProxy(appName))
         {
             (rcp as IRemoteControl).PostRequest(request);
         }
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
     }
 }
        public static string SendRequest(string appName, string request)
        {
            try
            {
                using (IPCRemoteControlProxy rcp = new IPCRemoteControlProxy(appName))
                {
                    return (rcp as IRemoteControl).SendRequest(request);
                }
            }
            catch (Exception ex)
            {
                Logger.LogException(ex);
            }

            return null;
        }