public IParagonAppInfo GetAppByInstanceId(string instanceId)
 {
     return(ParagonDesktop.FindApps(opts => opts.InstanceId = instanceId).FirstOrDefault());
 }
 public IParagonAppInfo GetCurrentApp()
 {
     Logger.Debug("GetCurrentApp");
     return(ParagonDesktop.FindApps(opts => opts.InstanceId = Application.Metadata.InstanceId).FirstOrDefault());
 }