C# Class Wallcreeper.Misc

Mostrar archivo Open project: Winterstark/Wallcreeper

Public Methods

Method Description
GetArchiver ( ) : string
GetDirPath ( string path ) : string
GetFilename ( string path ) : string
SendToRecycleBin ( string path ) : bool

Send file to recycle bin. Display dialog, display warning if files are too big to fit (FOF_WANTNUKEWARNING)

Private Methods

Method Description
SHFileOperation ( SHFILEOPSTRUCT &FileOp ) : int
Send ( string path, FileOperationFlags flags ) : bool

Send file to recycle bin

Method Details

GetArchiver() public static method

public static GetArchiver ( ) : string
return string

GetDirPath() public static method

public static GetDirPath ( string path ) : string
path string
return string

GetFilename() public static method

public static GetFilename ( string path ) : string
path string
return string

SendToRecycleBin() public static method

Send file to recycle bin. Display dialog, display warning if files are too big to fit (FOF_WANTNUKEWARNING)
public static SendToRecycleBin ( string path ) : bool
path string Location of directory or file to recycle
return bool