NurApiTagGetKillPassword Method
Get kill password from tag
Namespace: NurApiDotNetAssembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
public uint GetKillPassword(
uint passwd,
bool secured
)
- passwd UInt32
- Current access password
- secured Boolean
- Set true if secured
UInt32Kill password
Assuming the tag's password is protected in whole by the access password, here's how to read the current kill password:
// Note: needs to have try-catch.
uint GetCurrentKillPassword(NurApi.Tag aTag, uint accessPwd)
{
// Can throw NurApiException.
return aTag.GetKillPassword(accessPwd, true);
}