Reply To: Check Password Protection

Forum MIFARE SDK Check Password Protection Reply To: Check Password Protection

Re: Check Password Protection

24. July 2015 at 12:06
Hello,

I am not sure of which Tags are we speaking about, so I will assume you mean NTag.
With the SDK there's no direct method to check "isPwdProtected()", but probably you could try to use some other methods within SDK, and if it throws you an exception, like "authentication error", then you know it's password protected, because it tells you you need to authenticate wit PWD.

If you are interested perhaps in pages withing NTags, there is a method to check "isPageLocked()" where you input the Address an it will return you a boolean, True for locked, false for not-locked.

Hope I could help you a bit.
If there's something I did not get quite alright, please try to be more specific.

Best,
David
+ 0  |  - 1