// I wonder if antivirus programs will the catch the fact that technically, I have a system-wide keylogger bundled in my app. // I hope not... private void KListener_KeyDown(object sender, RawKeyEventArgs args) { if (args.Key == Key.MediaNextTrack) { advanceSong(); } else if (args.Key == Key.MediaPlayPause) { togglePlayPause(); } // It's not like I'm sending myself the info! // secretlySendEmailAboutWhatKeyAUserPressed(args.Key); }
// I wonder if antivirus programs will the catch the fact that technically, I have a system-wide keylogger bundled in my app. // I hope not... private void KListener_KeyDown(object sender, RawKeyEventArgs args) { if(args.Key == Key.MediaNextTrack) { advanceSong(); } else if (args.Key == Key.MediaPlayPause) { togglePlayPause(); } // It's not like I'm sending myself the info! // secretlySendEmailAboutWhatKeyAUserPressed(args.Key); }