Ejemplo n.º 1
0
        //Active a computer with a product key
        private void ActivateComputer(DataContracts.HostnameChanger msg)
        {
            if (string.IsNullOrEmpty(msg.Key))
            {
                return;
            }

            try
            {
                _instance.ActivateComputer(msg.Key);
            }
            catch (Exception ex)
            {
                Log.Error(Name, ex);
            }
        }