private void Extract(String destinationPath, String destinationName) { Int32 result = Unrar.RARProcessFile(this.archiveHandle, (Int32)Operation.Extract, destinationPath, destinationName); // Check result if (result != 0) { ProcessFileError(result); } }
/// <summary> /// Tests the ability to extract the current file without saving extracted data to disk /// </summary> /// <returns></returns> public void Test() { Int32 result = Unrar.RARProcessFile(this.archiveHandle, (Int32)Operation.Test, String.Empty, String.Empty); // Check result if (result != 0) { ProcessFileError(result); } }