BncsFramework.GetInstanceFromBncsDeviceIdandIndex Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods >

BncsFramework.GetInstanceFromBncsDeviceIdandIndex Method

Retrieves an IBNCSInstance based on the provided device ID and index.

Namespace: BNCS.Core.DriverFramework
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public static Nullable<IBNCSInstance> GetInstanceFromBncsDeviceIdandIndex(
 uint deviceId,
 uint index
)

Parameters

deviceId

Type: UInt32
The device ID to match.

index

Type: UInt32
The index to compare against the offset of the device.

Return Value

An IBNCSInstance that matches the device ID and has the highest offset less than or equal to the index, or null if no match is found.

 

See Also


BncsFramework Class

BNCS.Core.DriverFramework Namespace