[DllImport("winmm.dll", SetLastError = true, CharSet = CharSet.Auto)] public static extern bool PlaySound( string pszSound, IntPtr hmod, uint fdwSound );
Microsoft documentation: Link
Last updated 1 year ago