Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
How can i copy file with administrator user and password
Feroz Khan
Jun 1 2015 1:21 PM
497
Reply
How can i copy file with administrator user and password in network computer...
i want to type administrator user and password in textbox...
so please tell me how can i do this.. i am using below code.. error is showing access is denaid...
how can i type administrator user and password..
string filepath = @"C:\dts\image.jpg";
string savepath = @"\\"+ipaddress_txt.Text+"\\c$\\Program Files\\IBT\\image.jpg";
File.Copy(filepath,savepath, true);
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
How can i store text file in array or string
Confusion in Multiple Inheritance using Interface.