Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6725 | siemargl | 1 | #region README |
2 | |||
3 | //_____________________________________________________________________________ |
||
4 | // |
||
5 | //Sample C# code, .NET Framework 1.1, contributed to the Info-Zip project by |
||
6 | //Adrian Maull, April 2005. |
||
7 | // |
||
8 | //If you have questions or comments, contact me at adrian.maull@sprintpcs.com. Though |
||
9 | //I will try to respond to coments/questions, I do not guarantee such response. |
||
10 | // |
||
11 | //THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY |
||
12 | //KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE |
||
13 | //IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
||
14 | //PARTICULAR PURPOSE. |
||
15 | // |
||
16 | //_____________________________________________________________________________ |
||
17 | |||
18 | |||
19 | #endregion |
||
20 | |||
21 | using System; |
||
22 | |||
23 | namespace CSharpInfoZip_UnZipSample |
||
24 | { |
||
25 | /// |
||
26 | /// Summary description for UnZipDLLServiceMessageEventArgs. |
||
27 | /// |
||
28 | public class UnZipDLLServiceMessageEventArgs |
||
29 | { |
||
30 | private ulong m_ZipFileSize = 0; |
||
31 | private ulong m_SizeOfFileEntry = 0; |
||
32 | private string m_FileEntryName = string.Empty; |
||
33 | |||
34 | //zipFileSize = Total size of the zip file |
||
35 | //fileEntryBytes - size of an individual file in the zip |
||
36 | //fileEntryName - name of an individual file in the zip |
||
37 | public UnZipDLLServiceMessageEventArgs(ulong zipFileSize, string fileEntryName, ulong fileEntryBytes) |
||
38 | { |
||
39 | m_ZipFileSize = zipFileSize; |
||
40 | m_SizeOfFileEntry = fileEntryBytes; |
||
41 | m_FileEntryName = fileEntryName; |
||
42 | } |
||
43 | |||
44 | public ulong ZipFileSize |
||
45 | { |
||
46 | get {return m_ZipFileSize;} |
||
47 | } |
||
48 | |||
49 | public ulong SizeOfFileEntry |
||
50 | { |
||
51 | get {return m_SizeOfFileEntry;} |
||
52 | } |
||
53 | |||
54 | public string FileEntryName |
||
55 | { |
||
56 | get {return m_FileEntryName;} |
||
57 | } |
||
58 | } |
||
59 | } |