Can you access the windows registry from Adobe Air?

前端 未结 8 1423
萌比男神i
萌比男神i 2021-02-09 00:55

(y/N)

Edit: Read-only access is fine.

相关标签:
8条回答
  • 2021-02-09 01:20

    A bit late, but I got a wish from a client to read some values from the registry when the project was almost finished. If there were more of these types of wishes, I would have never choosen AIR. But I found a nice extension from FluorineFx, and by extending it, I can now read string and dword values from the registry. Windows only: http://aperture.fluorinefx.com/

    0 讨论(0)
  • 2021-02-09 01:23

    If your willing to force the user to also install another application, you could write a small C# or C++ windows service that simply opens a Socket that provides some kind of protocol for accessing the registry. Then in AIR you can use the Socket class to send messages to/from the C# service that would return results to the AIR app.

    When the app loads you can try to connect to the Socket, and if the connection is rejected you could prompt the user to download/install the service.

    As for direct access to the registry I am pretty sure Adobe wouldn't allow that from AIR.

    0 讨论(0)
提交回复
热议问题