访问LAN网络上的可共享驱动器(登录凭据) [英] Access of Sharable Drive on LAN Network(login credentials)

查看:65
本文介绍了访问LAN网络上的可共享驱动器(登录凭据)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用C#开发一个应用程序,我必须在LAN网络上的硬盘中复制文件并访问它们。硬盘受密码保护,因此每当我尝试复制文件时,它都会显示登录凭据错误(无效的用户名或密码错误)。我想提供登录凭据,但我不知道如何实现它。

解决方案

尝试这些:



获取映射的网络驱动器 [ ^ ]

访问网络上的文件开车 [ ^ ]



您可能需要将硬盘映射为本地计算机上的网络驱动器...

使用net使用来自Win CMD。





欢呼,

Marco A. Bertschi

I''m developing an app in C# where I have to copy files in Hard disk on LAN Network and access them. Hard disk is password protected, so whenever I try to copy files, it shows Login Credential Error (Invalid Username or Bad Password). I want to provide the login credentials but I don''t have any idea how to implement it.

解决方案

Try these things out:

Getting mapped Network Drives[^]
Accessing files on a network drive[^]

You might need to map the harddisk as a network drive on the local machine...
Use "net use" from the Win CMD for this.


cheers,
Marco A. Bertschi


这篇关于访问LAN网络上的可共享驱动器(登录凭据)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆