ModuleAPI C# Version Developer's Guide
Kill Tag

KillTag Method

Kill a tag
 
Method Signature
  
public abstract void KillTag(ModuleTech.TagFilter target, uint password)
  
Parameters
Parameter Description
target Tag filter, set as null if not needed.
password Kill password
  
Example
There is a tag whose EPC code starts as 0x1234 and its kill password is 0x1112222, kill the tag.
  
string kpasswdstr = "11112222";
uint kpasswd = uint.Parse(kpasswdstr, System.Globalization.NumberStyles.AllowHexSpecifier);
byte[] fdata = ByteFormat.FromHex("1234");
Gen2TagFilter filter = new Gen2TagFilter(fdata.Length*8, fdata ,ModuleTech.Gen2.MemBank.EPC, 32, false);
rdr.KillTag(filter, kpasswd);