C# Class ShareUtil.ShareCache

Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Méthodes publiques

Méthode Description
GetShareCachingInfo ( string ComputerName, string ShareName ) : int
SetShareCachingInfo ( string ComputerName, string ShareName, int ShareFlags ) : void

Private Methods

Méthode 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 méthode

public static GetShareCachingInfo ( string ComputerName, string ShareName ) : int
ComputerName string
ShareName string
Résultat int

SetShareCachingInfo() public static méthode

public static SetShareCachingInfo ( string ComputerName, string ShareName, int ShareFlags ) : void
ComputerName string
ShareName string
ShareFlags int
Résultat void