Registry in .NET world

  • Thread starter Thread starter Ioannis Vranos
  • Start date Start date
I

Ioannis Vranos

In the past I had read that in .NET world there is no need to store data
in the registry, but the applications would have some other independent
way to do that.


What is this way? Suppose we have to save some user configuration of an
application. Where will we save that in .NET?
 
Ioannis Vranos said:
In the past I had read that in .NET world there is no need to store data
in the registry, but the applications would have some other independent
way to do that.


What is this way? Suppose we have to save some user configuration of an
application. Where will we save that in .NET?

Take a look at a "Isolated Storage" topic in the MSDN.
 
Vladimir said:
Take a look at a "Isolated Storage" topic in the MSDN.


If I understood correctly, if for example we want to save some
configuration data of a .NET application in Windows XP ,we will create a
text .ini file or something in <SYSTEMDRIVE>\Documents and
Settings\<user>\Application Data?
 
Ioannis said:
If I understood correctly, if for example we want to save some
configuration data of a .NET application in Windows XP ,we will create a
text .ini file or something in <SYSTEMDRIVE>\Documents and
Settings\<user>\Application Data?


In any case we use IsolatedStorageFile *. Thanks a lot for the information.
 
Ioannis said:
If I understood correctly, if for example we want to save some
configuration data of a .NET application in Windows XP ,we will create a
text .ini file or something in <SYSTEMDRIVE>\Documents and
Settings\<user>\Application Data?

You can continue doing whatever you're doing now (you can access the
registry through the Microsoft::Win32::Registry class), or you can use
isolated storage if you think it's right. Or some other option.
 
Back
Top