public XApiInvokeProxy(string path)
 {
     if (Environment.OSVersion.Platform == PlatformID.Unix)
     {
         _invoke = new UnixInvoke(path);
     }
     else
     {
         _invoke = new WindowsInvoke(path);
     }
     if (_invoke != null)
     {
         _request = _invoke.GetXRequest();
     }
 }
Example #2
0
 public XApi(string path)
 {
     InitHandler();
     _proxy    = new XApiInvokeProxy(path);
     _callback = ProcessResponse;
 }