IPCBIWindowLoadDataFromZipStreamAsync(Stream) 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
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public Task<bool> LoadDataFromZipStreamAsync(
	Stream DataStream
)

Parameters

DataStream  Stream
Stream filled with data to read.

Return Value

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

Implements

InterfacePCBIWindowLoadDataFromZipStreamAsync(Stream)

See Also