Implement PC/SC-based NFC card reader monitoring application with WPF UI. Features include: - System tray integration with single-click to open main window - Dynamic reader detection and management with enable/disable per reader - NDEF payload extraction supporting Type 2 and Type 4 tags - Auto-detection of block sizes (4-byte vs 16-byte) for different reader types - Configurable actions: copy to clipboard, launch URLs, keyboard input simulation - URI record type detection - only launches browser for actual URI records - Real-time activity logging with color-coded levels (Debug, Info, Warning, Error) - File-based debug logging for troubleshooting - Settings persistence between sessions - Dangerous Things branding with custom icons and clickable logo 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
318 B
C#
12 lines
318 B
C#
using System.Collections.Generic;
|
|
|
|
namespace NfcActions.Models;
|
|
|
|
public class AppSettings
|
|
{
|
|
public HashSet<string> DisabledReaders { get; set; } = new();
|
|
public bool CopyToClipboard { get; set; } = false;
|
|
public bool LaunchUrls { get; set; } = true;
|
|
public bool TypeAsKeyboard { get; set; } = false;
|
|
}
|