Esempio n. 1
0
        void getCard1xConfig(IntPtr sdkContext, UInt32 deviceID, bool isMasterDevice)
        {
            BS1CardConfig config;

            Console.WriteLine("Trying to get Card1xConfig");
            BS2ErrorCode result = (BS2ErrorCode)API.BS2_GetCard1xConfig(sdkContext, deviceID, out config);

            if (result != BS2ErrorCode.BS_SDK_SUCCESS)
            {
                Console.WriteLine("Got error({0}).", result);
            }
            else
            {
                print(sdkContext, config);
            }
        }