Exemplo n.º 1
0
 static void SendNoticeToLix(object param)
 {
     using (LicenseService Ls = new LicenseService()) {
         ActivationSet item = new ActivationSet(Environment.MachineName, typeof(Program).AssemblyQualifiedName);
         string        xml  = ActivationSet.ToXmlString(item);
         Ls.AddActivationSet(xml);
     }
 }