Shell_NotifyIcon

[DllImport("coredll.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern bool Shell_NotifyIcon(
   uint dwMessage,
   ref NOTIFYICONDATA lpdata
);

Microsoft documentation: Link

Last updated