IPCBIWindowLoadDataFromRARStreamAsync(Stream) Method

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

Definition

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

Parameters

DataStream  Stream
Stream filled with data to read.

Return Value

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

See Also