IPCBIWindowLoadDataFrom7ZStreamAsync(Stream) Method

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

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public Task<bool> LoadDataFrom7ZStreamAsync(
	Stream DataStream
)

Parameters

DataStream  Stream
Stream filled with data to read.

Return Value

TaskBoolean
True if the 7z was read and data is loaded.

See Also