C# 클래스 ExtremeMirror.PinvokeWindowsNetworking

파일 보기 프로젝트 열기: nefarius/TrueMount-3

공개 메소드들

메소드 설명
connectToRemote ( string remoteUNC, string username, string password ) : string
connectToRemote ( string remoteUNC, string username, string password, bool promptUser ) : string
disconnectRemote ( string remoteUNC ) : string

비공개 메소드들

메소드 설명
WNetCancelConnection2 ( string lpName, int dwFlags, bool fForce ) : int
WNetUseConnection ( IntPtr hwndOwner, NETRESOURCE lpNetResource, string lpPassword, string lpUserID, int dwFlags, string lpAccessName, string lpBufferSize, string lpResult ) : int
getErrorForNumber ( int errNum ) : string

메소드 상세

connectToRemote() 공개 정적인 메소드

public static connectToRemote ( string remoteUNC, string username, string password ) : string
remoteUNC string
username string
password string
리턴 string

connectToRemote() 공개 정적인 메소드

public static connectToRemote ( string remoteUNC, string username, string password, bool promptUser ) : string
remoteUNC string
username string
password string
promptUser bool
리턴 string

disconnectRemote() 공개 정적인 메소드

public static disconnectRemote ( string remoteUNC ) : string
remoteUNC string
리턴 string