SerialNum Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves the serial number.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware.OneWire (in Microsoft.SPOT.Hardware.OneWire.dll)
Syntax
'Declaration
Public Function SerialNum ( _
SNum As Byte(), _
read As Boolean _
) As Integer
public int SerialNum(
byte[] SNum,
bool read
)
public:
int SerialNum(
array<unsigned char>^ SNum,
bool read
)
member SerialNum :
SNum:byte[] *
read:bool -> int
public function SerialNum(
SNum : byte[],
read : boolean
) : int
Parameters
- SNum
Type: array<System. . :: . .Byte> [] () [] []
- read
Type: System. . :: . .Boolean
Return Value
Type: System. . :: . .Int32
Returns Int32.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.