C# Close network session on server

Cancelled Posted Mar 7, 2013 Paid on delivery
Cancelled Paid on delivery

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.

NOTE: The code ONLY HAS to detect existing connections and cancel them. Nothing more.

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...

.NET C# Programming

Project ID: #4310408

About the project

14 proposals Remote project Active Mar 18, 2013

14 freelancers are bidding on average $220 for this job

akhila27

##### YOUR SEARCH ENDS HERE! ##### GET IT RIGHT THE FIRST TIME!. Check the message and contact us. SI TEAM.

$400 USD in 12 days
(9 Reviews)
5.2
aczireonline

Hi, Will do this for you. Seems we need to do some WinAPI/PInvokes. Please see PMB for more details.

$250 USD in 5 days
(21 Reviews)
4.3
yeki

I'm an expert .NET developer. Please see your PMB.

$180 USD in 5 days
(8 Reviews)
4.1
thesaw

Hello i can help you

$450 USD in 7 days
(14 Reviews)
3.9
pythonshell

consider it done.!!! check pm.

$250 USD in 5 days
(9 Reviews)
2.9
mmukulsharma

Hi i can do this please check pmb.

$70 USD in 1 day
(1 Review)
1.6
specialist77

I have a simple solution for you but need to talk with you to understand if it covers everything you need.

$90 USD in 3 days
(2 Reviews)
1.0
reynosoalmonte

Hello, i know what yo need. Just contact me and we can speak more about this project.

$250 USD in 7 days
(1 Review)
0.0
webindia1990

hi, I am interested for your project so please read my private message once. Thanks.

$200 USD in 5 days
(0 Reviews)
0.0
prakashmondal

Hi, I am interested to detect existing active session using c# and disconnect current session.

$200 USD in 5 days
(1 Review)
0.0
handmilkingsoft

- Ubicados en San José, Costa Rica. Somos su mejor opción para outsourcing. - Excelente zona horaria: GMT -6 - Contamos con mas de 5 años de experiencia en las principales tecnologias Web y de es More

$250 USD in 7 days
(0 Reviews)
0.0
SEOSEARCHTEAM

For more details please check PMB... Thanks

$188 USD in 4 days
(1 Review)
0.0
sumantamitra2006

I am new to the freelancer site but I carry with me a strong experience in Dotnet technologies.I have worked in several MNC's in dotnet projects.I would deliver the application within the timeline mentioned and would a More

$250 USD in 20 days
(0 Reviews)
0.0