// Decompiled with JetBrains decompiler // Type: Bmc.Broker.PackageState // Assembly: ticketservice, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 3DFB8186-7053-43AF-8B45-70866071B1F2 // Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Trojan.Win32.Patched.mf-fd200e64412b6be5c177c3cfa7b94e83e807ff04211ce324f12e2ffa5537eb36.exe using System; using System.Collections; using System.Collections.Specialized; namespace Bmc.Broker { public class PackageState { public string Package; public TimeSpan LastTransition; public string CurrentState; public TimeSpan NextTransition; public DateTime NextTransitionDate; public string NextState; public StringCollection Permissions; public IDictionary Products; public bool HasPermission(string productName, string perm) => productName != null && this.Products.Contains((object) productName) && ((ProductState) this.Products[(object) productName]).Permissions.Contains(perm) || this.Permissions.Contains(perm); public string GetProperty(string productName, string propName) => !this.Products.Contains((object) productName) ? (string) null : ((ProductState) this.Products[(object) productName]).GetProperty(propName); } }