Login to a remote machine & accessing network resources

Posted by calvin on Stack Overflow See other posts from Stack Overflow or by calvin
Published on 2010-03-23T08:30:15Z Indexed on 2010/03/23 8:33 UTC
Read the original article Hit count: 259

Filed under:
|
|

Hi, I want to access a file on remote machine(win2k3, 10.10.20.30), but i couldn't understand how to login to that machine in my program. is there any simple win api that takes network path, credentials and returns the handle? i just want to access \10.10.20.30\c$\test.txt, WNetAddConnection2, WNetAddConnection3 are little confusing. Any suggestion will be helpful.

© Stack Overflow or respective owner

Related posts about c++

Related posts about Windows