C# Class PathLib.ReparsePoint

Afficher le fichier Open project: nemec/pathlib Class Usage Examples

Méthodes publiques

Méthode Description
ToString ( ) : string

This returns the normalised target, ie. if the actual target is relative it has been made absolute Note that it is not fully normalised in that .s and ..s may still be included.

TryCreate ( string path, ReparsePoint &link ) : bool

Takes a full path to a reparse point and finds the target.

Private Methods

Méthode Description
AdjustTokenPrivileges ( IntPtr TokenHandle, [ DisableAllPrivileges, TOKEN_PRIVILEGES &NewState, Int32 BufferLength, IntPtr PreviousState, IntPtr ReturnLength ) : bool
CloseHandle ( IntPtr hObject ) : bool
CreateFile ( string fileName, [ fileAccess, [ fileShare, int securityAttributes, [ creationDisposition, uint flags, IntPtr template ) : IntPtr
DeviceIoControl ( IntPtr hDevice, uint dwIoControlCode, IntPtr lpInBuffer, uint nInBufferSize, REPARSE_DATA_BUFFER &outBuffer, uint nOutBufferSize, uint &lpBytesReturned, IntPtr lpOverlapped ) : bool
GetCurrentProcess ( ) : IntPtr
LookupPrivilegeValue ( string lpSystemName, string lpName, LUID &lpLuid ) : bool
OpenProcessToken ( IntPtr ProcessHandle, UInt32 DesiredAccess, IntPtr &TokenHandle ) : bool
ReparsePoint ( ) : System

Method Details

ToString() public méthode

This returns the normalised target, ie. if the actual target is relative it has been made absolute Note that it is not fully normalised in that .s and ..s may still be included.
public ToString ( ) : string
Résultat string

TryCreate() public static méthode

Takes a full path to a reparse point and finds the target.
public static TryCreate ( string path, ReparsePoint &link ) : bool
path string Full path of the reparse point
link ReparsePoint
Résultat bool