Within C# code to find out if a touch screen exists (doesn’t check if its a single or multi-touch device though) by the using System.Windows.Input
namespace in PresentationCore
.
public bool HasTouchInput()
{
foreach (TabletDevice tabletDevice in Tablet.TabletDevices)
{
//Only detect if it is a touch Screen not how many touches (i.e. Single touch or Multi-touch)
if(tabletDevice.Type == TabletDeviceType.Touch)
return true;
}
return false;
}