public static void lockAllTags(int drawerId) { if ((Device != null) && (Device.IsConnected)) { Device.LockAllTag(drawerId); } }