Table of Contents

Enum Driver

Namespace
NAPS2.Scan
Assembly
NAPS2.Sdk.dll

Specifies the driver type to be used for performing the actual scan. Available options depend on the platform.
See https://github.com/cyanfish/naps2/tree/master/NAPS2.Sdk#drivers for more details.

public enum Driver

Fields

Apple = 3

Use an Apple ImageCaptureCore driver (Mac-only). You will also need to compile against a macOS framework target (e.g net8-macos10.15) to use this driver type.

Default = 0

Use the default driver for the platform (Windows -> Wia, Mac -> Apple, Linux -> Sane).

Escl = 5

Use an ESCL network driver (all platforms).

Sane = 4

Use a SANE driver (Linux and Mac). To use on Mac you'll also need to reference the NAPS2.Sane.Binaries package.

Twain = 2

Use a TWAIN driver (Windows-only). Mac can use TWAIN indirectly through the Apple driver type.

Wia = 1

Use a WIA driver (Windows-only).