Add new official .NET guards for OS dependant code.

This commit is contained in:
2022-03-26 17:12:08 +00:00
parent 1c99cb1d09
commit a9e228a91b
3 changed files with 11 additions and 8 deletions

View File

@@ -42,6 +42,7 @@ using Aaru.Helpers;
using Microsoft.Win32.SafeHandles;
using Marshal = System.Runtime.InteropServices.Marshal;
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
static class ListDevices
{
/// <summary>Converts a hex dump string to the ASCII string it represents</summary>