Click here to Skip to main content
15,889,651 members
Articles / Desktop Programming / Win32

Connect to a UNC Path with Credentials

Rate me:
Please Sign up or sign in to vote.
4.83/5 (47 votes)
16 Oct 2009CPOL2 min read 939.7K   23.4K   95  
Use NetApi32 to establish and break connections to UNC paths using specified user credentials.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems Engineer ThomsonReuters Tax & Accounting
United States United States
I am a Senior System Administrator for a 400+ server ASP farm. With such a large farm and limited staff, our goal is to add as much automation as possible to the system. Most of my programming consists of intelligent slack: spending 2 hours to write a program that handles a reoccurring 10 minute manual job.

Comments and Discussions