How to detect a touch enabled device (Win 8, C#.NET)

121 Views Asked by At

Certain touch features won't work properly in my application when running on MS Surface Win8 Pro. That's only when the font DPI is set to 150% (unfortunately the default). I want to show a message to the user if they are running my app in Win8 on a touch enabled device to change their dpi setting for better experience. I know how to check for OS version and dpi settings but looking for a way to check if a touch enabled device is present so I don't have to show this message for users running this on other platforms/devices. My app is in C#.Net 4.5.

This is not a Windows 8 app. It's a winform which can be run on Vista/7/8. I don't see Windows.Devices.Input namespace suggested in other post?

0

There are 0 best solutions below