Table of Contents

Class ScanDevice

Namespace
NAPS2.Scan
Assembly
NAPS2.Sdk.dll

The representation of a scanning device and its corresponding driver.

public sealed record ScanDevice : IEquatable<ScanDevice>
Inheritance
ScanDevice
Implements

Constructors

ScanDevice(Driver, string, string, string?)

The representation of a scanning device and its corresponding driver.

public ScanDevice(Driver Driver, string ID, string Name, string? IconUri = null)

Parameters

Driver Driver
ID string
Name string
IconUri string?

Properties

Driver

public Driver Driver { get; init; }

Property Value

Driver

ID

public string ID { get; init; }

Property Value

string

IconUri

public string? IconUri { get; init; }

Property Value

string?

Name

public string Name { get; init; }

Property Value

string

Methods

Equals(ScanDevice?)

public bool Equals(ScanDevice? other)

Parameters

other ScanDevice

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int