Zip for WPF and Silverlight
C1.C1Zip Namespace / C1ZipEntryCollection Class / Add Method / Add(String,String,DateTime) Method
Name of the file to add to the zip file.
Name of the new entry as stored in the zip file.
The date and time when the file was last modified.

In This Topic
    Add(String,String,DateTime) Method
    In This Topic
    Adds an entry to the current zip file.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Add( _
       ByVal fileName As String, _
       ByVal entryName As String, _
       ByVal dateTime As Date _
    ) 

    Parameters

    fileName
    Name of the file to add to the zip file.
    entryName
    Name of the new entry as stored in the zip file.
    dateTime
    The date and time when the file was last modified.
    Remarks
    By default, entries in the zip file have the same name as the original (uncompressed) file. This method allows you to specify a different name, including a path for example.
    See Also