Configurability for windows application built in C#
- by Sam
Hi,
I am working on a windows application which is developed in C#. I am kinda new in windows world. I want to restrict number of parallel threads running for this application at a given point of time. This number can be changed by user on a beefier machine. What is the best way to do this configuration and how it can be achieved. I can think of following approaches.
1. Use ConfigurationManager to read the configuration value. If user exists more than N number of threads show a message and give option there to modify the value of N.
2. Use registery entry?
Thanks in Advance!
Sam