Beispiel #1
0
        /// <summary>
        /// Start or stop decryption.
        /// </summary>
        /// <param name="serviceIdentifier">May be <i>0</i> to stop decryption. Normally
        /// this will be the service identifier for the program to decrypt.</param>
        public void Decrypt(ushort serviceIdentifier)
        {
            // Start if needed
            if (serviceIdentifier == 0)
            {
                return;
            }

            // Access CI once
            if (CI.IsIdle)
            {
                CI.Open();
            }

            // Start decryption
            CI.Decrypt(serviceIdentifier);
        }