Table of Contents

Method Inspect

Namespace
LMKit.Inspection
Assembly
LM-Kit.NET.dll

Inspect(byte[], string)

Inspects in-memory content. fileName is optional and used only as an identification fallback for signature-less formats.

public static FileInspection Inspect(byte[] content, string fileName = null)

Parameters

content byte[]
fileName string

Returns

FileInspection

Inspect(Stream, string)

Inspects a stream. A seekable stream is read in place with bounded, targeted reads; a non-seekable stream is buffered first.

public static FileInspection Inspect(Stream content, string fileName = null)

Parameters

content Stream
fileName string

Returns

FileInspection

Inspect(string)

Inspects a file on disk.

public static FileInspection Inspect(string path)

Parameters

path string

Returns

FileInspection

Inspect(Attachment)

Inspects an Attachment (the SDK's common input abstraction).

public static FileInspection Inspect(Attachment attachment)

Parameters

attachment Attachment

Returns

FileInspection
Share