Ejemplo n.º 1
0
 public InstallerInfo(InstallerInfo x)
     : this()
 {
     if (x != null)
     {
         ProductCode = x.ProductCode;
         UpgradeCode = x.UpgradeCode;
     }
 }
Ejemplo n.º 2
0
 public ActivationSet(string xml)
 {
     if (!String.IsNullOrEmpty(xml))
     {
         ActivationSet item = ToClass(xml);
         Id             = item.Id;
         DateUpdated    = item.DateUpdated;
         MachineName    = item.MachineName;
         TargetType     = item.TargetType;
         Count          = item.Count;
         DateRegistered = item.DateRegistered;
         Expiry         = item.Expiry;
         User           = new UserInfo(item.User);
         Sales          = new PaymentInfo[item.Sales.Length];
         Array.Copy(item.Sales, Sales, Sales.Length);
         Setup  = new InstallerInfo(item.Setup);
         Status = item.Status;
     }
 }
Ejemplo n.º 3
0
 public ActivationSet(string machineName, string typeName, Guid pc, Guid uc)
     : this(machineName, typeName)
 {
     Setup = new InstallerInfo(pc, uc);
 }
Ejemplo n.º 4
0
 public ActivationSet()
 {
     User  = new UserInfo();
     Sales = new PaymentInfo[0];
     Setup = new InstallerInfo();
 }