Exemple #1
0
 public void CancelActivationCode(string deviceId) // Todo:
 {
     try
     {
         var args = new ActivationCodeEventArgs()
         {
             DeviceId = deviceId
         };
         ActivationCodeCancelled?.Invoke(this, args);
     }
     catch (Exception) { }
 }
Exemple #2
0
        public void EnterActivationCode(string deviceId, byte[] code) // Todo:
        {
            try
            {
                var args = new ActivationCodeEventArgs()
                {
                    DeviceId = deviceId,
                    Code     = code,
                };

                ActivationCodeReceived?.Invoke(this, args);
            }
            catch (Exception) { }
        }