Access registry from Silverlight OOB

后端 未结 2 1588
野性不改
野性不改 2021-01-25 02:35

Can I access Registry from Silverlight Out Of Browser, I just want to search/read the key and get key value pairs. Is this possible?

Or, is th

相关标签:
2条回答
  • 2021-01-25 03:19

    OOB can use COM objects, so pretty much "anything" is possible (but it will be Windows specific of course).

    That does mean having to develop a COM module yourself (unless you can find one off-the-shelf).

    There may be an easier way to access registry, so you may want to leave this question open a while.

    0 讨论(0)
  • 2021-01-25 03:29

    we can do it using RegRead

        using (dynamic shell = AutomationFactory.CreateObject("WScript.Shell"))
        {
              var key = shell.RegRead(@"HKLM\SOFTWARE\Wow6432Node\......");
        }
    
    0 讨论(0)
提交回复
热议问题