C# 클래스 NSoft.NFramework.Web.Tools.NetworkDriveTool

네트웍크 드라이브 관련 Util
파일 보기 프로젝트 열기: debop/NFramework

공개 메소드들

메소드 설명
Connect ( string remoteAccessUri, string remoteUserId, string remotePassword, string localDriveName ) : void

공유 폴더에 대한 네트워크 연결을 만든다.

비공개 메소드들

메소드 설명
WNetUseConnection ( IntPtr hwndOwner, [ lpNetResource, string lpPassword, string lpUserID, uint dwFlags, StringBuilder lpAccessName, int &lpBufferSize, uint &lpResult ) : int

메소드 상세

Connect() 공개 정적인 메소드

공유 폴더에 대한 네트워크 연결을 만든다.
public static Connect ( string remoteAccessUri, string remoteUserId, string remotePassword, string localDriveName ) : void
remoteAccessUri string 원격 공유폴더 경로
remoteUserId string 원격 사용자 아이디
remotePassword string 원격 비밀번호
localDriveName string 사용가능한 드라이브 명, NULL일때 시스템이 자동으로 설정한다.
리턴 void