Can you access the windows registry from Adobe Air?

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

(y/N)

Edit: Read-only access is fine.

8条回答
  •  梦如初夏
    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.

提交回复
热议问题