|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > BncsFramework.SetInfodriverValue Method |
Sets the value of an infodriver for a specific device and index.
Namespace: BNCS.Core.DriverFramework
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static bool SetInfodriverValue(
uint device,
uint index,
string value,
Boolean preApproved,
Enums.BNCSChangeSources changeSource
)
device
Type: UInt32
The device ID.
index
Type: UInt32
The index of the infodriver value.
value
Type: String
The value to set.
preApproved
Type: Boolean
Whether the value is approved to send to the slot, otherwise will pass through the callback for checking. Default is true.
changeSource
Type: BNCS.Core.DriverFramework.Models.Enums.BNCSChangeSources
The source of the change. Default is BNCSChangeSources.Device.
True if the value was successfully set, false otherwise.
BNCS.Core.DriverFramework Namespace