c# - Get Regedit values from Published Web Site -




i have web site , want values regedit. tried , working on localhost;

            registrykey = registry.currentuser.opensubkey("software\\neyya", true);              if (mykey == null)                 mykey = registry.currentuser.createsubkey("software\\neyya");              _filesystemstorelocation = mykey.getvalue("filestorepath", "").tostring(); 

when publish website on local machine, code not me. , tried this;

            registrykey mykey;             mykey = registrykey.openremotebasekey(registryhive.localmachine, "desktop-a1jj95k");             mykey = registry.currentuser.opensubkey("software\\neyya", true);              if (mykey == null)                 mykey = registry.currentuser.createsubkey("software\\neyya");              _filesystemstorelocation = mykey.getvalue("filestorepath", "").tostring(); 

but not working neither.

thanks help.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -