|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > BncsFramework.AddManagedDeviceAdhocInstance Method |
Adds a managed device ad-hoc instance with the specified parameters.
Namespace: BNCS.Core.DriverFramework
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static Guid AddManagedDeviceAdhocInstance(
string instanceId,
uint deviceId,
uint offset,
bool composite,
string instanceType,
string parentId,
string manufacturerTag,
string productTag,
string applicationTag,
string instanceTag,
string alt_id,
string location,
bool autoRegister,
uint deviceSize
)
instanceId
Type: String
The unique identifier for the instance.
deviceId
Type: UInt32
The device identifier.
offset
Type: UInt32
The offset value for the device. Default is 0.
composite
Type: Boolean
Indicates whether the instance is composite. Default is false.
instanceType
Type: String
The type of the instance. Default is an empty string.
parentId
Type: String
The parent identifier. Default is an empty string.
manufacturerTag
Type: String
The manufacturer tag. Default is an empty string.
productTag
Type: String
The product tag. Default is an empty string.
applicationTag
Type: String
The application tag. Default is an empty string.
instanceTag
Type: String
The instance tag. Default is an empty string.
alt_id
Type: String
The alternative identifier. Default is an empty string.
location
Type: String
The location of the instance. Default is an empty string.
autoRegister
Type: Boolean
Indicates whether to auto-register the instance. Default is true.
deviceSize
Type: UInt32
The size of the device infodriver. Default is 4096.
The GUID of the added instance.
BNCS.Core.DriverFramework Namespace