C# : Limit the number of application instances a user can run

Completed Posted Jun 6, 2011 Paid on delivery
Completed Paid on delivery

In this project you'll need to constantly monitor the running processes and limit users to run only the first 2 instances of any application listed in a file.

## Deliverables

**Description:

**

This solution need to constantly monitor the running processes and limit users to run only the first 2 opened instances of any application listed in a file that this solution will read from.

**Procedure:**

1. Read the application from a text file

2. Constantly check the running processes to make sure only 2 instances of an application will work for every user logged to the machine.

3. Whenever any of the listed applications is started (NOTE!! that the same application can have several opened instances for different users), the solution will constantly monitor the running applications and apply the limitation accordingly.

4. The solution will constantly monitor for changes in the file and apply them instantly.

**General Notes, requirements, limitations and Considerations:**

1. As performance is a main issue in this project, the solution will not exceed a CPU % usage of 0%- 2% at all times. Also, the worker will NOT (if applicable) use Microsoft PerformanceCounter and/or WMI to avoid performance issues. 2. This solution will need to make sure it will manage its own code (for example: make sure handles count will not exceed 1000).

3. The solution including all source codes will be built in Microsoft Visual Studio.

4. This solution will be approved ONLY after stress and performance tests the employer will make on the platforms (as listed).

5. The worker will not create a solution for creating or changing applications listed in the file. all changes to the file will be made manually.

6. This solution will work and tested on the following operating systems: Windows XP, Windows 7, Server 2003, Server 2008

7. This solution will work and tested on the following platforms: x86 and x64.

8. Maximum allowed .NET Framework version is 2.0

9. The worker can use (if applicable) invoke and/or win API to build this solution.

10, This solution including the source code will be check and tested on Microsoft Visual Studio 2010.

C# Programming Microsoft Windows Desktop

Project ID: #3361707

About the project

4 proposals Remote project Active Jun 6, 2011

Awarded to:

funatlearn85

See private message.

$29.75 USD in 1 day
(11 Reviews)
3.4

4 freelancers are bidding on average $33 for this job

feninsoftech

See private message.

$38.25 USD in 1 day
(5 Reviews)
3.8
alisolution

See private message.

$38.25 USD in 1 day
(22 Reviews)
3.3
alidropdown

See private message.

$25.5 USD in 1 day
(0 Reviews)
0.0