Can you access the windows computer system registry from Adobe Air?
If you can I would certainly be alarmed.
Why would certainly you be alarmed? Air is a desktop computer system, and also having accessibility to the OS is APIs (such as computer system registry accessibility) makes a lot of feeling.
That being claimed, it isn't sustained currently (and also as Adobe appear to be really Mac - centric, I question it will certainly ever before be included).
I have actually decided on ordering the customers call from the name of the customer directory site
Using File.userDirectory.name will certainly operate in the majority of instances, yet it feels like a really breakable execution, it relies upon the OS keeping the convention of having the username as their directory site. I can consider a couple of feasible points that could damage it (having fun with TweakUI etc).
If your going to compel the customer to additionally install an additional application, you can write a tiny C# or C+npls windows solution that merely opens up a Socket that gives some sort of method for accessing the computer system registry. After that in AIR you can make use of the Socket class to send messages to/from the C# solution that would certainly return outcomes to the AIR application.
When the application lots you can attempt to connect to the Socket, and also if the link is denied you can prompt the customer to download/install the solution.
When it comes to straight accessibility to the computer system registry I am rather certain Adobe would not permit that from AIR.
Are you attempting to establish if the customer is a manager or otherwise?
If so you can grad the username by with "File.userDirectory.name".
And also I believe to identify if the customer is a manager you can possibly attempt to access a documents that calls for manager advantages (possibly attempt creating a documents to Windows/System32). If the documents accessibility fails you can possibly think that the customer is under a Limited account.
Be really mindful if you determine to create an outlet web server that pays attention for computer system registry commands. You are possibly developing a protection opening and also customers' individual firewall programs might hinder in regards to usability.