Noemax DotNetGZip Report an issue | Discuss in forums
GZipStream.Filename Property (GZipStream)
See Also 
Noemax.GZip Assembly > Noemax.GZip Namespace > GZipStream Class : Filename Property



Gets and sets the filename to write into or read from the GZip header.


Namespace: Noemax.GZip
Assembly: Noemax.GZip (in Noemax.GZip.dll)

Syntax

Visual Basic (Declaration) 
Public Property Filename As String
Visual Basic (Usage)Copy Code
Dim instance As GZipStream
Dim value As String
 
instance.Filename = value
 
value = instance.Filename
C# 
public string Filename {get; set;}
C++/CLI 
public:
property String^ Filename {
   String^ get();
   void set (String^ value);
}

Remarks

You can provide the name of the compressed file to be written into the GZip header by setting this property.

The GZip header will be written during the first write operation, therefore this property should be specified before writing any data into the stream.

The GZip header will be written during the first write operation, therefore this property should be specified before writing any data into the stream.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also