<PackageReference Include="System.ClientModel" Version="1.6.1" />

RuntimeInformationWrapper

using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace System.ClientModel.Internal { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] internal class RuntimeInformationWrapper { public virtual string FrameworkDescription => RuntimeInformation.FrameworkDescription; public virtual string OSDescription => RuntimeInformation.OSDescription; public virtual Architecture OSArchitecture => RuntimeInformation.OSArchitecture; public virtual Architecture ProcessArchitecture => RuntimeInformation.ProcessArchitecture; public virtual bool IsOSPlatform(OSPlatform osPlatform) { return RuntimeInformation.IsOSPlatform(osPlatform); } } }