Class DeviceInformation
- Namespace
- nanoFramework.Bluetooth.Hid
- Assembly
- nanoFramework.Bluetooth.Hid.dll
A class representing the various information about the device to advertise.
public class DeviceInformation
- Inheritance
-
DeviceInformation
- Inherited Members
- Extension Methods
Constructors
DeviceInformation(string, string, string, string, string, string)
Initializes a new instance of the DeviceInformation class.
public DeviceInformation(string manufacturer, string modelNumber = null, string serialNumber = null, string hardwareRevision = null, string firmwareRevision = null, string softwareRevision = null)
Parameters
manufacturerstringThe name of the device manufacturer.
modelNumberstringThe device model number.
serialNumberstringThe device serial number.
hardwareRevisionstringThe device hardware revision number.
firmwareRevisionstringThe device firmware revision number.
softwareRevisionstringThe software version number.
Properties
FirmwareRevision
Gets the device firmware revision number.
public string FirmwareRevision { get; }
Property Value
HardwareRevision
Gets the device hardware revision number.
public string HardwareRevision { get; }
Property Value
Manufacturer
Gets the device manufacturer name.
public string Manufacturer { get; }
Property Value
ModelNumber
Gets the device model number.
public string ModelNumber { get; }
Property Value
SerialNumber
Gets the device serial number.
public string SerialNumber { get; }
Property Value
SoftwareRevision
Gets the software version number.
public string SoftwareRevision { get; }