|
DeviceManagerTGetFirstDevice Method |
Returns the first Great Lakes NeuroTechnologies device of type T that is discovered connected to the PC.
Namespace: GLNeuroTech.Devices.CommonAssembly: GLNeuroTech.Devices.Common (in GLNeuroTech.Devices.Common.dll) Version: 1.2.3.5 (1.2.3.5)
Syntax public virtual T GetFirstDevice()
Public Overridable Function GetFirstDevice As T
public:
virtual T GetFirstDevice()
abstract GetFirstDevice : unit -> 'T
override GetFirstDevice : unit -> 'T
Return Value
Type:
TAn object of type
T that represents the first Great Lakes NeuroTechnologies device discovered.
Implements
IDeviceManagerTGetFirstDeviceRemarks GetFirstDevice is useful when there is only one device connected to the host machine. In this instance,
a call to this method will return an instance of that connected device. When there are multiple devices connected
to the host machine,
EnumerateDevices or
GetDevices should be used instead.
See Also Reference
DeviceManager.EnumerateDevices