<PackageReference Include="System.Windows.Extensions" Version="10.0.0-rc.1.25451.107" />

SystemSounds

public static class SystemSounds
Retrieves sounds associated with a set of Windows operating system sound-event types. This class cannot be inherited.
using System.Runtime.CompilerServices; namespace System.Media { [NullableContext(1)] [Nullable(0)] public static class SystemSounds { public static SystemSound Asterisk { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions); } } public static SystemSound Beep { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions); } } public static SystemSound Exclamation { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions); } } public static SystemSound Hand { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions); } } public static SystemSound Question { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions); } } } }