C# Class PathLib.ReparsePoint

Datei anzeigen Open project: nemec/pathlib Class Usage Examples

Public Methods

Method 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

Method 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 method

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
return string

TryCreate() public static method

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
return bool