getsentry / getsentry/sentry-dotnet
[WinUI3] Operating system info missing in reports
- Dominant language
- C#
- Stars
- 770
- Forks
- 248
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 49
Description
### Package
Sentry
### .NET Flavor
.NET
### .NET Version
8.0.2
### OS
Windows
### SDK Version
4.2.1
### Self-Hosted Sentry Version
_No response_
### Steps to Reproduce
Send test exception to Sentry from a WinUI3 app.
### Expected Result
See detailed info about operating system - incl. build version, e.g. Windows 11 (build 22631.3374).
### Actual Result
WinUI3:

- The "os.name=Windows" doesn't give me any additional information compared to "os=Windows 11"
- Build number missing (e.g. `22631.3374` or `10.0.22631`)
The build information can be gathered via `Environment.OSVersion.Version`. Additionally, it could be helpful to enrich the exception with the machine name (e.g. laptop model), similar how on iOS it shows "device=iPhone 13 Pro". This information can be gathered using `Environment.MachineName`
Contributor guide
Assessment
This issue has not been assessed yet.