<PackageReference Include="System.Windows.Extensions" Version="10.0.1" />

System.Media.SystemSound

public class SystemSound
Represents a system sound type.
namespace System.Media { public class SystemSound { public void Play(); } }