1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Runtime.InteropServices.RuntimeInformation</name>
7 <member name="T:System.Runtime.InteropServices.Architecture">
8 <summary>Indicates the processor architecture.</summary>
10 <member name="F:System.Runtime.InteropServices.Architecture.Arm">
11 <summary>A 32-bit ARM processor architecture.</summary>
13 <member name="F:System.Runtime.InteropServices.Architecture.Arm64">
14 <summary>A 64-bit ARM processor architecture.</summary>
16 <member name="F:System.Runtime.InteropServices.Architecture.S390x">
17 <summary>The S390x platform architecture.</summary>
19 <member name="F:System.Runtime.InteropServices.Architecture.Wasm">
20 <summary>The WebAssembly platform.</summary>
22 <member name="F:System.Runtime.InteropServices.Architecture.X64">
23 <summary>An Intel-based 64-bit processor architecture.</summary>
25 <member name="F:System.Runtime.InteropServices.Architecture.X86">
26 <summary>An Intel-based 32-bit processor architecture.</summary>
28 <member name="T:System.Runtime.InteropServices.OSPlatform">
29 <summary>Represents an operating system platform.</summary>
31 <member name="M:System.Runtime.InteropServices.OSPlatform.Create(System.String)">
32 <summary>Creates a new <see cref="T:System.Runtime.InteropServices.OSPlatform" /> instance.</summary>
33 <param name="osPlatform">The name of the platform that this instance represents.</param>
34 <exception cref="T:System.ArgumentException">
35 <paramref name="osPlatform" /> is an empty string.</exception>
36 <exception cref="T:System.ArgumentNullException">
37 <paramref name="osPlatform" /> is <see langword="null" />.</exception>
38 <returns>An object that represents the <paramref name="osPlatform" /> operating system.</returns>
40 <member name="M:System.Runtime.InteropServices.OSPlatform.Equals(System.Object)">
41 <summary>Determines whether the current <see cref="T:System.Runtime.InteropServices.OSPlatform" /> instance is equal to the specified object.</summary>
43 <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Runtime.InteropServices.OSPlatform" /> instance and its name is the same as the current object; otherwise, <see langword="false" />.</param>
45 <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Runtime.InteropServices.OSPlatform" /> instance and its name is the same as the current object.</returns>
47 <member name="M:System.Runtime.InteropServices.OSPlatform.Equals(System.Runtime.InteropServices.OSPlatform)">
48 <summary>Determines whether the current instance and the specified <see cref="T:System.Runtime.InteropServices.OSPlatform" /> instance are equal.</summary>
49 <param name="other">The object to compare with the current instance.</param>
51 <see langword="true" /> if the current instance and <paramref name="other" /> are equal; otherwise, <see langword="false" />.</returns>
53 <member name="M:System.Runtime.InteropServices.OSPlatform.GetHashCode">
54 <summary>Returns the hash code for this instance.</summary>
55 <returns>The hash code for this instance.</returns>
57 <member name="M:System.Runtime.InteropServices.OSPlatform.op_Equality(System.Runtime.InteropServices.OSPlatform,System.Runtime.InteropServices.OSPlatform)">
58 <summary>Determines whether two <see cref="T:System.Runtime.InteropServices.OSPlatform" /> objects are equal.</summary>
59 <param name="left">The first object to compare.</param>
60 <param name="right">The second object to compare.</param>
62 <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise, <see langword="false" />.</returns>
64 <member name="M:System.Runtime.InteropServices.OSPlatform.op_Inequality(System.Runtime.InteropServices.OSPlatform,System.Runtime.InteropServices.OSPlatform)">
65 <summary>Determines whether two <see cref="T:System.Runtime.InteropServices.OSPlatform" /> instances are unequal.</summary>
66 <param name="left">The first object to compare.</param>
67 <param name="right">The second object to compare.</param>
69 <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> are unequal; otherwise, <see langword="false" />.</returns>
71 <member name="M:System.Runtime.InteropServices.OSPlatform.ToString">
72 <summary>Returns the string representation of this <see cref="T:System.Runtime.InteropServices.OSPlatform" /> instance.</summary>
73 <returns>A string that represents this <see cref="T:System.Runtime.InteropServices.OSPlatform" /> instance.</returns>
75 <member name="P:System.Runtime.InteropServices.OSPlatform.FreeBSD">
76 <summary>Gets an object that represents the FreeBSD operating system.</summary>
77 <returns>An object that represents the FreeBSD operating system.</returns>
79 <member name="P:System.Runtime.InteropServices.OSPlatform.Linux">
80 <summary>Gets an object that represents the Linux operating system.</summary>
81 <returns>An object that represents the Linux operating system.</returns>
83 <member name="P:System.Runtime.InteropServices.OSPlatform.OSX">
84 <summary>Gets an object that represents the OSX operating system.</summary>
85 <returns>An object that represents the OSX operating system.</returns>
87 <member name="P:System.Runtime.InteropServices.OSPlatform.Windows">
88 <summary>Gets an object that represents the Windows operating system.</summary>
89 <returns>An object that represents the Windows operating system.</returns>
91 <member name="T:System.Runtime.InteropServices.RuntimeInformation">
92 <summary>Provides information about the .NET runtime installation.</summary>
94 <member name="M:System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform)">
95 <summary>Indicates whether the current application is running on the specified platform.</summary>
96 <param name="osPlatform">A platform.</param>
98 <see langword="true" /> if the current app is running on the specified platform; otherwise, <see langword="false" />.</returns>
100 <member name="P:System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription">
101 <summary>Gets the name of the .NET installation on which an app is running.</summary>
102 <returns>The name of the .NET installation on which the app is running.</returns>
104 <member name="P:System.Runtime.InteropServices.RuntimeInformation.OSArchitecture">
105 <summary>Gets the platform architecture on which the current app is running.</summary>
106 <returns>The platform architecture on which the current app is running.</returns>
108 <member name="P:System.Runtime.InteropServices.RuntimeInformation.OSDescription">
109 <summary>Gets a string that describes the operating system on which the app is running.</summary>
110 <returns>The description of the operating system on which the app is running.</returns>
112 <member name="P:System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture">
113 <summary>Gets the process architecture of the currently running app.</summary>
114 <returns>The process architecture of the currently running app.</returns>
116 <member name="P:System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier">
117 <summary>Gets the platform on which an app is running.</summary>
118 <returns>An opaque string that identifies the platform on which the app is running.</returns>