Class AppUnpacker
Unpacks a Liminal App asynchronously. Due to the LZMA compression applied to AppPack files, unpacking can take time. The unpacker always runs asychronously on a separate thread.
Inheritance
System.Object
AppUnpacker
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Liminal.SDK.Serialization
Assembly: Liminal.SDK.dll
Syntax
public class AppUnpacker
Properties
| Improve this Doc View SourceData
If the unpacking operation was successfully completed, returns the unpacked data.
Declaration
public AppPack Data { get; }
Property Value
Type | Description |
---|---|
AppPack |
Exception
Gets the exception that was thrown if the unpacking operation faulted.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
System.Exception |
IsDone
Indicates if the packing operation has completed.
Declaration
public bool IsDone { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsFaulted
Indicates if the unpacking operation faulted with an exception.
Declaration
public bool IsFaulted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceUnpackAsync(Byte[])
Unpacks a raw compressed AppPack byte array.
Declaration
public AppUnpacker UnpackAsync(byte[] rawData)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | rawData | The raw compressed raw byte array to unpack. |
Returns
Type | Description |
---|---|
AppUnpacker |
Wait()
Wait for the unpacking process to complete.
Declaration
public void Wait()