C# Close network session on server

CANCELLED
Bids
15
Avg Bid (USD)
$232
Project Budget (USD)
$30 - $250

Project Description:
I have a local computer that connect to a Windows Server and accesses some files on a shared folder on that server. The server has several users defined, with rights to access some folder and to block some other, depending on the user connected.
What I need is a C# code to FULLY disconnect from the server, so that I have to enter the credentials again if I want to reconnect.
The code has to detect, NOT ONLY the open files or folders opened, but ANY connection, From my point of view, as far as I have introduced some credentials (user + pwd) I AM connected, and that connection can be detected and canceled.
I want a C# code that will allow me, while I sit in front of my local computer, to connect to server with credentials for User1, then disconnect, then reconnect as User2, etc, with any user defined on the server, WITHOUT THE NEED to close my local session.

Additional Project Description:
03/07/2013 at 18:48 CET
NOTE: The code ONLY HAS to detect existing connections and cancel them. Nothing more.

03/08/2013 at 7:18 CET
NOTE2: I'm connecting to the server ONLY to access files and folders:
- I open Windows Explorer
- I type the server's name or IP
- I'm asked for the credentials: I enter username and password
- I then see the server's shared folders and printers
- I'M THEN CONNECTED, and have not yet opened any file

The C# piece of code has to disconnect me, so that I cannot keep browsing the server's folders without first entering again some access credentials. It should be a SIMPLE piece of code, no nuke matter...

Skills required:
.NET, C# Programming
Hire chaprot
Project posted by:
chaprot Spain
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 200
in 10 days
$ 400
in 12 days
$ 250
in 5 days
Hire yeki
$ 180
in 5 days
$ 450
in 7 days
$ 250
in 5 days
Hire mmukulsharma
$ 70
in 1 days
Hire specialist77
$ 90
in 3 days
$ 200
in 5 days
Hire sumantamitra2006
$ 250
in 20 days