// Check whether the taskbar feature is supported (Win 7 or Win Server 2008 R2)
if (TaskbarManager.IsPlatformSupported)
{
// Set the AppID for the current process TaskbarManager.Instance represents an
// instance of the Windows Taskbar
TaskbarManager.Instance.ApplicationId = "NewApplicationID";
}