InterfacePCBIWindowLoadDataFromZipStreamAsync Method

Load zip data from stream e.g. use MemoryStream with zip as byte[] included. You can use folowing code to try it out: using (FileStream dataStream = new FileStream(@"D:\Daten\odb.zip", FileMode.Open)) { MemoryStream memStream = new MemoryStream(); await dataStream.CopyToAsync(memStream); memStream.Seek(0, SeekOrigin.Begin); bool res = await window.LoadDataFromZipStreamAsync(memStream); }

Definition

Namespace: PCBI.Automation.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
Task<bool> LoadDataFromZipStreamAsync(
	Stream dataStream
)

Parameters

dataStream  Stream
 

Return Value

TaskBoolean
True if the zip was read and data is loaded.

See Also