Gets the unique serial number of this Phidget.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public int SerialNumber { get; } |
Visual Basic (Declaration) |
---|
Public ReadOnly Property SerialNumber As Integer |
Visual C++ |
---|
public: property int SerialNumber { int get (); } |
Remarks
This number is set during manufacturing, and is unique across all Phidgets. This number can be used in calls to open to specify this specific Phidget to be opened.
Exceptions
Exception | Condition |
---|---|
Phidgets..::.PhidgetException | If this Phidget is not opened and attached. |