J
J
junart2016-03-05 01:27:03
C++ / C#
junart, 2016-03-05 01:27:03

Where to store C# .NET program configuration?

Where to store the configuration and settings of a C# .NET program?
What are the convenient ways to do this? The problem is that you need to prevent changes to the configuration files by the user.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Stanislav Makarov, 2016-03-05
@Nipheris

The problem is that you need to prevent changes to the configuration files by the user.

1) run the service on another machine protected from the user, or on the same machine, but under the system account (if the user does not have administrator rights);
2) we apply for the configuration to the service;
3) profit

R
Roman, 2016-03-05
@yarosroman

There are limited user rights for this.

A
Alexander Ananiev, 2016-03-05
@SaNNy32

Store in db. Not every user will be able to get there

S
Sanostee, 2016-03-05
@andrewpianykh

Use binary serialization / BinaryFormatter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question