wManager.Wow.Helpers Namespace
WRobot

GZip..::..Compress Method

Compress the specified file.

Namespace:  robotManager.Helpful
Assembly:  robotManager (in robotManager.dll)

Syntax


public static bool Compress(
	string filename,
	string toFile
)
Public Shared Function Compress ( _
	filename As String, _
	toFile As String _
) As Boolean
public:
static bool^ Compress(
	String^ filename, 
	String^ toFile
)

Parameters

filename
Type: String
The file path.
toFile
Type: String
To file.

Return Value

true if success, false otherwise.