aspnet_setreg with other data  
Author Message
MMGirl51





PostPosted: Top

Net Framework >> aspnet_setreg with other data

I can use aspnet_setreg to securely store the credentials to be used by
the ASPNET identity, but can the same technique be used to store data
for other custom config keys? i.e., does ASP.Net understand what to do
if I have this in the web.config?

<appSettings>
<add key="myUser"
value="registry:HKLM\Software\SOME\REG\PATH\ASPNET_SETREG,userName"/>
<add key="myPassword"
value="registry:HKLM\Software\SOME\REG\PATH\ASPNET_SETREG,password"/>
</appSettings>

Will that produce the expected values?

Chandy

DotNet63