using System.Runtime.InteropServices; namespace DTS.Utilities { //FB 45077 public static class TaskbarHelper { [DllImport("shell32.dll", SetLastError = true)] public static extern int SetCurrentProcessExplicitAppUserModelID([MarshalAs(UnmanagedType.LPWStr)] string AppID); } }