Class SgaFile
- Namespace
- OpenCompote.SGA
- Assembly
- OpenCompote.dll
public class SgaFile : SgaEntry
- Inheritance
-
SgaFile
- Inherited Members
Properties
CompressedSize
public uint CompressedSize { get; }
Property Value
Size
public uint Size { get; }
Property Value
StorageType
Gets value that indicates whether the file is compressed or not.
public StorageType StorageType { get; set; }
Property Value
Exceptions
- ObjectDisposedException
The SGA archive for this file has been disposed.
- InvalidOperationException
The archive is opened in read-only mode or file is currently open."
Methods
ExtractToFile(string, bool)
NOT IMPLEMENTED! DO NOT USE
public void ExtractToFile(string destination, bool overwrite = false)
Parameters
Open()
Opens the file from the SGA archive.
public Stream Open()
Returns
- Stream
The stream that represents the contents of the file.
Exceptions
- ObjectDisposedException
The SGA archive for this folder has been disposed.
- IOException
The entry is already currently open for writing.
- InvalidOperationException
The archive was opened in invalid mode.