CipherLab 9400 Series User Manual page 170

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

9400 .NET Programming
GetDeviceAddress
Purpose
To get the MAC address of the connected device.
Syntax
int GetDeviceAddress (int devInfo,
Parameters
devInfo
[in] A value returned by FindNextBTDevice().
devAddr
[in][out] An integer variable that stores the MAC address.
Example for C#
int b1 = 0;
int devAddr = 0;
b1 = Cipherlab.SystemAPI.Member.GetDeviceAddress(
devInfo, ref devAddr);
Example for VB
Dim devAddr As Integer
Cipherlab.SystemAPI.Member.GetDeviceAddress(devInfo, devAddr)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
See Also
FindNextBTDevice
162
Guide
Call GetErrorCode() to find the error condition encountered:
21
ERROR_NO_DEVICE_INFO
25
ERROR_NOT_DEVICEINFO_OBJ
31
ERROR_WRONG_ARG
ref int devAddr);

Advertisement

Table of Contents
loading

Table of Contents