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
Post a Comment