C# Class ShareUtil.ShareCache

显示文件 Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Methods

Method Description
GetShareCachingInfo ( string ComputerName, string ShareName ) : int
SetShareCachingInfo ( string ComputerName, string ShareName, int ShareFlags ) : void

Private Methods

Method Description
NetApiBufferFree ( IntPtr Buffer ) : int
NetShareGetInfo ( [ serverName, [ netName, Int32 level, IntPtr &bufPtr ) : int
NetShareSetInfo ( [ serverName, [ netName, Int32 level, IntPtr bufPtr, Int32 &param_err ) : int

Method Details

GetShareCachingInfo() public static method

public static GetShareCachingInfo ( string ComputerName, string ShareName ) : int
ComputerName string
ShareName string
return int

SetShareCachingInfo() public static method

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