Beispiel #1
0
 /// <summary>
 /// A ComponentLoadFailed event will occur when binary data fails to load.
 /// This an infrequent event that may be triggered by a pending OS update in which DRM compoments
 /// are being renewed and may require a restart.
 /// </summary>
 static void ComponentLoadFailed(MediaProtectionManager sender, ComponentLoadFailedEventArgs e)
 {
     for (int i = 0; i < e.Information.Items.Count; i++)
     {
         ViewModelBase.Log(e.Information.Items[i].Name + "\nReasons=0x" + e.Information.Items[i].Reasons + "\n"
                           + "Renewal Id=" + e.Information.Items[i].RenewalId);
     }
     e.Completion.Complete(false);
 }
Beispiel #2
0
        void ProtectionManager_ComponentLoadFailed(MediaProtectionManager sender, ComponentLoadFailedEventArgs e)
        {
            TestLogger.LogMessage("Enter Playback.ProtectionManager_ComponentLoadFailed()");
            TestLogger.LogMessage(e.Information.ToString());

            //  List the failing components - RevocationAndRenewalInformation
            for (int i = 0; i < e.Information.Items.Count; i++)
            {
                TestLogger.LogMessage(e.Information.Items[i].Name + "\nReasons=0x" + e.Information.Items[i].Reasons + "\n"
                                      + "Renewal Id=" + e.Information.Items[i].RenewalId);
            }
            e.Completion.Complete(false);
            TestLogger.LogMessage("Leave Playback.ProtectionManager_ComponentLoadFailed()");
        }
Beispiel #3
0
 private void OnMediaProtectionManagerComponentLoadFailed(MediaProtectionManager sender, ComponentLoadFailedEventArgs e)
 {
     Debug.WriteLine("ProtectionManager ComponentLoadFailed");
     e.Completion.Complete(false);
 }
Beispiel #4
0
 void ProtectionManager_ComponentLoadFailed(MediaProtectionManager sender, ComponentLoadFailedEventArgs e)
 {
     e.Completion.Complete(false);
 }
Beispiel #5
0
        private void ProtectionManager_ComponentLoadFailed(MediaProtectionManager sender, ComponentLoadFailedEventArgs e)
        {
            Log("Enter ProtectionManager_ComponentLoadFailed");
            Log(e.Information.ToString());

            // List the failing components - RevocationAndRenewalInformation
            foreach (var item in e.Information.Items)
            {
                Log(item.Name +
                    "\nReasons=0x" + item.Reasons +
                    "\nRenewal Id=" + item.RenewalId);
            }
            e.Completion.Complete(false);

            Log("Leave ProtectionManager_ComponentLoadFailed");
        }
Beispiel #6
0
 private void ProtectionManager_ComponentLoadFailed(MediaProtectionManager sender, ComponentLoadFailedEventArgs e)
 {
     Log("ProtectionManager_ComponentLoadFailed");
 }