44792

How to create a registry that allows the Silverlig

Question:

I need to know how can I create a registry that allow the Silverlight applications access to camera and mic.

Scenario:

I have a Silverlight application that start the WebCam, before it works it shows a Silverlight dialog asking if the user allows the application to access it.

Finally I'm creating a desktop app that loads the Silverlight application in a web browser. I want my application desktop to creates a registry or something like that to allow this access and stopping to show the Silverlight dialog.

Exists some solution to this?? If yes, how can I do this?

Answer1:

For someone who has the same issue here is the solution: https://stackoverflow.com/a/17829842/2882534

Just create a subkey named whit your Url plus port(ex: http://localhost:54895) at the HKEY_CURRENT_USER\Software\AppDataLow\Software\Microsoft\Silverlight\Permissions

After that, create a registry named WebcamAndMicrophone with DWORD and value 11.

Shazan! The silverlight dialog is not more necessary.

Tutorial to manipulate registrys: http://www.codeproject.com/Articles/4808/All-you-wanted-to-know-about-the-Registry-with-C-P



Recommend

  • How to restrict number of concurrent processes?
  • Selenium and Google - How do you use cookies?
  • Use neo4j server instead of embedded mode
  • dismiss Progress Dialog in another Activity … Android
  • How to remove all of a jQuery UI dialog when it is closed
  • You tube videos are not playing
  • Problem with Django using Apache2 (mod_wsgi), Occassionally is “unable to import from module” for no
  • Sensibility of combined Maven/Ant+Ivy build management for dual platform Desktop/Android deployment?
  • How to remove a SwiftyJSON element?
  • MS Access - How to change the linked table path by amend the table
  • Loading .coffee files via a view in Rails
  • How to add git credentials to the build so it would be able to be used within a shell code?
  • Visual Studio 2010 debugger build correctly - compiler pdb and linker pdb not in synch?
  • Groovy: Unexpected token “:”
  • How to create a file in java without a extension
  • Alert pop up with LWUIT
  • Initializer list vs. initialization method
  • Control modification in presentation layer
  • Sails.js/waterline: Executing waterline queries in toJSON function of a model?
  • req.body is undefined - nodejs
  • Fetching methods from BroadcastReceiver to update UI
  • Excel - Autoshape get it's name from cell (value)
  • Controls, properties, events and timers running in design time
  • Window Size for Mac application
  • Check if a string to interpolate provides expected placeholders
  • Sending data from AppleScript to FileMaker records
  • MySQL WHERE-condition in procedure ignored
  • Symfony2: How to get request parameter
  • Akka Routing: Reply's send to router ends up as dead letters
  • WOWZA + RTMP + HTML5 Playback?
  • RestKit - RKRequestDelegate does not exist
  • Is there a mandatory requirement to switch app.yaml?
  • Traverse Array and Display in markup
  • KeystoneJS: Relationships in Admin UI not updating
  • AngularJs get employee from factory
  • Load html files in TinyMce
  • Authorize attributes not working in MVC 4
  • Busy indicator not showing up in wpf window [duplicate]
  • Python/Django TangoWithDjango Models and Databases
  • Net Present Value in Excel for Grouped Recurring CF