当前在线人数16808
[合集] Log on to a remote computer - 未名空间精华区
首页 - 版面精华区 - 电脑网络精华区 - 窗口里的风景版精华区 - 精华区文章阅读 首页
未名交友
[更多]
[更多]
[合集] Log on to a remote computer

发信人: les (Walk the walk, talk the talk), 信区: DotNet
标  题: [合集] Log on to a remote computer
发信站: BBS 未名空间站 (Sat May 26 22:40:49 2007), 站内

☆─────────────────────────────────────☆
  Dintern (.Net newbie) 于 (Mon Jan 29 23:57:40 2007) 提到:

I have user id and password to access a remote computer that opens up a
shared folder for me. I wanna write a program that logs onto it (also
running XP/2000/2003) and copy a few files back. What .Net apis to use
to access the remote computer?



☆─────────────────────────────────────☆
  cogt (苦荆茶) 于 (Tue Jan 30 09:10:06 2007) 提到:

impersonate?  I didn't do that before..
【 在 Dintern (.Net newbie) 的大作中提到: 】
: I have user id and password to access a remote computer that opens up a
: shared folder for me. I wanna write a program that logs onto it (also
: running XP/2000/2003) and copy a few files back. What .Net apis to use
: to access the remote computer?





☆─────────────────────────────────────☆
  jiangsheng (jiangsheng) 于 (Thu Feb  1 12:26:54 2007) 提到:

http://vbnet.mvps.org/index.html?code/network/netshareenum.htm


☆─────────────────────────────────────☆
  Dintern (.Net newbie) 于 (Fri Feb  2 01:13:42 2007) 提到:

【 在 cogt (苦荆茶) 的大作中提到: 】
: impersonate?  I didn't do that before..

Turned out impersonate is the way to go. It's very delicate, though.
You have to set the parameters right, or it wouldn't work and you
are gonna spend a long time finding what goes wrong.

There're a few good articles on this here:
http://www.codeproject.com/useritems/User_Impersonation_in_Ne.asp?df=100&forumid=314226&exp=0&select=1592547#xx1592547xx


☆─────────────────────────────────────☆
  cogt (苦荆茶) 于 (Fri Feb  2 08:26:46 2007) 提到:

I'm very glad it worked for you.
【 在 Dintern (.Net newbie) 的大作中提到: 】
: Turned out impersonate is the way to go. It's very delicate, though.
: You have to set the parameters right, or it wouldn't work and you
: are gonna spend a long time finding what goes wrong.
: There're a few good articles on this here:
: http://www.codeproject.com/useritems/User_Impersonation_in_Ne.asp?df=100&forumid=314226&exp=0&select=1592547#xx1592547xx





[返回]
赞助链接
未名交友
将您的链接放在这儿
 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996