i am writing a program that detects if a 24V pump is running or not or if there is an error (e.g. no pump connected). I will realize this with Ardunio Due. The whole thing will be realized with WindowsFormApp as a small state machine. I will build the Arduino and the other components into a small case. Now my question: How is it possible that the PC automatically detects when the Arduino Due is plugged into the USB and automatically opens and runs WindowsFormApp?