/// <summary> /// Gets a string that describes the type of touch device on the surface /// </summary> /// <param name="touchDevice">the touch device to be examined</param> /// <returns>a string that describes the type of touch device</returns> private static string GetTouchDeviceTypeString(TouchDevice touchDevice) { if (touchDevice.GetTagData() != TagData.None) { return("Tag"); } if (touchDevice.GetIsFingerRecognized()) { return("Finger"); } return("Blob"); }