OperatingSystem
OperatingSystem(PlatformID, Version)
Platform
ServicePack
Version
VersionString
Clone()
GetObjectData(SerializationInfo, StreamingContext)
IsAndroid()
IsAndroidVersionAtLeast(Int32, Int32, Int32, Int32)
IsBrowser()
IsFreeBSD()
IsFreeBSDVersionAtLeast(Int32, Int32, Int32, Int32)
IsIOS()
IsIOSVersionAtLeast(Int32, Int32, Int32)
IsLinux()
IsMacCatalyst()
IsMacCatalystVersionAtLeast(Int32, Int32, Int32)
IsMacOS()
IsMacOSVersionAtLeast(Int32, Int32, Int32)
IsOSPlatform(String)
IsOSPlatformVersionAtLeast(String, Int32, Int32, Int32, Int32)
IsTvOS()
IsTvOSVersionAtLeast(Int32, Int32, Int32)
IsWasi()
IsWatchOS()
IsWatchOSVersionAtLeast(Int32, Int32, Int32)
IsWindows()
IsWindowsVersionAtLeast(Int32, Int32, Int32, Int32)
ToString()
net10.0-windows7.0
namespace System
{
public sealed class OperatingSystem : ICloneable, ISerializable
{
public static bool IsMacCatalystVersionAtLeast(int major, int minor = 0, int build = 0);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET | 6.07.08.09.010.0 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assemblies | System.Runtime , Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime , Version=6.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | Your project needs a package reference to |
Package | System.Runtime.Experimental (7.0.0-preview.2.22152.2) net7.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API