C# Class System.PlatformDetection

Afficher le fichier Open project: dotnet/corefx

Private Methods

Méthode Description
GetIsWindowsSubsystemForLinux ( ) : bool
GetOSXKernelVersion ( ) : System.Version
GetWindowsBuildNumber ( ) : int
GetWindowsMinorVersion ( ) : int
GetWindowsVersion ( ) : int
IsDistroAndVersion ( string distroId, string versionId = null ) : bool

Get whether the OS platform matches the given Linux distro and optional version.

ParseOsReleaseFile ( ) : IdVersionPair
RtlGetVersion ( RTL_OSVERSIONINFOEX &lpVersionInformation ) : int
sysctlbyname ( string ctlName, byte oldp, IntPtr &oldpLen, byte newp, IntPtr newpLen ) : int