I\'ve got an login application that has a swipe system that people only can use when they have a touchscreen. They can login by swiping their personal pattern swipe code.
There is IInkTablet2 COM interface in Windows XP Tablet PC Edition or managed wrapper Microsoft.Ink.Tablet class for non-WPF applications. But it most of touch screen drivers are "mouse" drivers and can't be detected in this way.