C# 클래스 ShareUtil.ShareCache

파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites 1 사용 예제들

공개 메소드들

메소드 설명
GetShareCachingInfo ( string ComputerName, string ShareName ) : int
SetShareCachingInfo ( string ComputerName, string ShareName, int ShareFlags ) : void

비공개 메소드들

메소드 설명
NetApiBufferFree ( IntPtr Buffer ) : int
NetShareGetInfo ( [ serverName, [ netName, Int32 level, IntPtr &bufPtr ) : int
NetShareSetInfo ( [ serverName, [ netName, Int32 level, IntPtr bufPtr, Int32 &param_err ) : int

메소드 상세

GetShareCachingInfo() 공개 정적인 메소드

public static GetShareCachingInfo ( string ComputerName, string ShareName ) : int
ComputerName string
ShareName string
리턴 int

SetShareCachingInfo() 공개 정적인 메소드

public static SetShareCachingInfo ( string ComputerName, string ShareName, int ShareFlags ) : void
ComputerName string
ShareName string
ShareFlags int
리턴 void