BncsFramework.AddManagedInfodriver Method

<< Click to Display Table of Contents >>

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

BncsFramework.AddManagedInfodriver Method

Adds a managed infodriver for a specified device.

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

 

Syntax


public static IBncsManagedInfodriver AddManagedInfodriver(
 uint deviceId,
 uint size,
 Nullable<IBncsInfodriver> trackingInfodriver
)

Parameters

deviceId

Type: UInt32
The unique identifier of the device for which the infodriver is being added.

size

Type: UInt32
The size of the infodriver. The default value is 4096.

trackingInfodriver

Type: Nullable<IBncsInfodriver>
An optional parameter for a tracking infodriver. It can be null.

Return Value

An instance of IBncsManagedInfodriver representing the added managed infodriver.

 

Exceptions


Exception

Condition

[Exception]

Thrown when the infodriver mode is not available because BNCS is not enabled.

 

See Also


BncsFramework Class

BNCS.Core.DriverFramework Namespace