C# Class Versionr.Utilities.Symlink.SymlinkWin32

ファイルを表示 Open project: eatplayhate/versionr

Public Methods

Method Description
CreateSymlink ( string path, string target ) : bool
Delete ( string path ) : void
GetTarget ( string v ) : string

Private Methods

Method Description
CreateFile ( string lpFileName, uint dwDesiredAccess, uint dwShareMode, IntPtr lpSecurityAttributes, uint dwCreationDisposition, uint dwFlagsAndAttributes, IntPtr hTemplateFile ) : Microsoft.Win32.SafeHandles.SafeFileHandle
CreateSymbolicLink ( string lpSymlinkFileName, string lpTargetFileName, int dwFlags ) : bool
CreateSymlinkFallback ( string path, string target, bool asDirectory ) : bool
DeviceIoControl ( IntPtr hDevice, uint dwIoControlCode, IntPtr lpInBuffer, int nInBufferSize, IntPtr lpOutBuffer, int nOutBufferSize, int &lpBytesReturned, IntPtr lpOverlapped ) : bool

Method Details

CreateSymlink() public static method

public static CreateSymlink ( string path, string target ) : bool
path string
target string
return bool

Delete() public static method

public static Delete ( string path ) : void
path string
return void

GetTarget() public static method

public static GetTarget ( string v ) : string
v string
return string