Device Monitoring Studio Server - TODO
Docs

IDevice Interface

Use this interface to query for session's device names.

Declaration

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 
};

IDevice Properties

Key

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.

Name

readonly Name: string;
string Name { get; }
_bstr_t Name;  // get 

This property holds a device name.