0

I am trying to get dial device from an ID, but when I use .done() or .then() on .fromIdAsync() as given in the api DialDevice.FromIdAsync | fromIdAsync method. I am getting access denied error and app is getting closed

What wrong am I doing?

RecklessSergio
  • 806
  • 3
  • 10
  • 34

1 Answers1

1

Check if you've declared the extensibility point of type windows.dialProtocal in appxmanifest using something like:

   <Extensions> 
     <uap:Extension Category="windows.dialProtocol"> 
       <uap:DialProtocol Name="your app's DIAL name" /> 
     </uap:Extension> 
   </Extensions> 

If you still encounter exception, I think that may indicate DIAL is not supported. The c# officle sample is not a code reference for js developer, but should be a good testing project to verify if it works in c# project.

Alan Yao - MSFT
  • 3,284
  • 1
  • 17
  • 16
  • Is this code snippet to create a dial app? I need something like searching chromecast device and stream to it. @Alan Yao - MSFT – RecklessSergio Oct 10 '15 at 15:42