Use this interface to query for session's device names.
interface IDevice extends ${IDispatch} {
// Properties
readonly ${Key}: string;
readonly ${Name}: string;
}
public interface IDevice : ${IDispatch}
{
// Properties
string ${Key} { get; }
string ${Name} { get; }
}
struct IDevice : IDispatch
{
// Properties
_bstr_t ${Key}; // get
_bstr_t ${Name}; // get
};
readonly Key: string;
string Key { get; }
_bstr_t Key; // get
This property holds a device key. A device key is a system identifier that uniquely describes the instance of the connected device. The format is internal and may be different for different device types. Note that the same device connected to another port usually generates another device key, therefore, is considered as another device by Device Monitoring Studio Server.
readonly Name: string;
string Name { get; }
_bstr_t Name; // get
This property holds a device name.