Configurability for windows application built in C#
Posted
by Sam
on Stack Overflow
See other posts from Stack Overflow
or by Sam
Published on 2010-06-16T09:22:52Z
Indexed on
2010/06/16
9:42 UTC
Read the original article
Hit count: 264
c#
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
© Stack Overflow or respective owner