public static void VerifyPIN(uint hDongle, byte[] sPin) { int uiRemainCount = 0; uint ret = RockeyArmHelper.Dongle_VerifyPIN(hDongle, DongleDef.FLAG_ADMINPIN, sPin, out uiRemainCount); if (ret != 0) { throw new Exception(RockeyArmHelper.GetErrorInfo(ret)); } }