1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Runtime.InteropServices.RuntimeInformation</name>
6 <member name="T:System.Runtime.InteropServices.RuntimeInformation">
7 <summary>Provides information about the .NET runtime installation.</summary>
9 <member name="P:System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription">
10 <summary>Returns a string that indicates the name of the .NET installation on which an app is running.</summary>
11 <returns>The name of the .NET installation on which the app is running.</returns>
13 <member name="M:System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform)">
14 <summary>Indicates whether the current application is running on the specified platform.</summary>
15 <param name="osPlatform">A platform.</param>
16 <returns><see langword="true"></see> if the current app is running on the specified platform; otherwise, <see langword="false"></see>.</returns>
18 <member name="P:System.Runtime.InteropServices.RuntimeInformation.OSArchitecture">
19 <summary>Gets the platform architecture on which the current app is running.</summary>
20 <returns>The platform architecture on which the current app is running.</returns>
22 <member name="P:System.Runtime.InteropServices.RuntimeInformation.OSDescription">
23 <summary>Gets a string that describes the operating system on which the app is running.</summary>
24 <returns>The description of the operating system on which the app is running.</returns>
26 <member name="P:System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture">
27 <summary>Gets the process architecture of the currently running app.</summary>
28 <returns>The process architecture of the currently running app.</returns>
30 <member name="T:System.Runtime.InteropServices.Architecture">
31 <summary>Indicates the processor architecture.</summary>
33 <member name="F:System.Runtime.InteropServices.Architecture.Arm">
34 <summary>A 32-bit ARM processor architecture.</summary>
37 <member name="F:System.Runtime.InteropServices.Architecture.Arm64">
38 <summary>A 64-bit ARM processor architecture.</summary>
41 <member name="F:System.Runtime.InteropServices.Architecture.X64">
42 <summary>An Intel-based 64-bit processor architecture.</summary>
45 <member name="F:System.Runtime.InteropServices.Architecture.X86">
46 <summary>An Intel-based 32-bit processor architecture.</summary>
49 <member name="T:System.Runtime.InteropServices.OSPlatform">
50 <summary>Represents an operating system platform.</summary>
52 <member name="M:System.Runtime.InteropServices.OSPlatform.Create(System.String)">
53 <summary>Creates a new <see cref="T:System.Runtime.InteropServices.OSPlatform"></see> instance.</summary>
54 <param name="osPlatform">The name of the platform that this instance represents.</param>
55 <returns>An object that represents the <paramref name="osPlatform">osPlatform</paramref> operating system.</returns>
56 <exception cref="T:System.ArgumentException"><paramref name="osPlatform">osPlatform</paramref> is an empty string.</exception>
57 <exception cref="T:System.ArgumentNullException"><paramref name="osPlatform">osPlatform</paramref> is <see langword="null"></see>.</exception>
59 <member name="M:System.Runtime.InteropServices.OSPlatform.Equals(System.Object)">
60 <summary>Determines whether the current <see cref="T:System.Runtime.InteropServices.OSPlatform"></see> instance is equal to the specified object.</summary>
61 <param name="obj"><see langword="true"></see> if obj is a <see cref="T:System.Runtime.InteropServices.OSPlatform"></see> instance and its name is the same as the current object; otherwise, false.</param>
62 <returns><see langword="true"></see> if <paramref name="obj">obj</paramref> is a <see cref="T:System.Runtime.InteropServices.OSPlatform"></see> instance and its name is the same as the current object.</returns>
64 <member name="M:System.Runtime.InteropServices.OSPlatform.Equals(System.Runtime.InteropServices.OSPlatform)">
65 <summary>Determines whether the current instance and the specified <see cref="T:System.Runtime.InteropServices.OSPlatform"></see> instance are equal.</summary>
66 <param name="other">The object to compare with the current instance.</param>
67 <returns><see langword="true"></see> if the current instance and <paramref name="other">other</paramref> are equal; otherwise, <see langword="false"></see>.</returns>
69 <member name="M:System.Runtime.InteropServices.OSPlatform.GetHashCode">
70 <summary>Returns the hash code for this instance.</summary>
71 <returns>The hash code for this instance.</returns>
73 <member name="P:System.Runtime.InteropServices.OSPlatform.Linux">
74 <summary>Gets an object that represents the Linux operating system.</summary>
75 <returns>An object that represents the Linux operating system.</returns>
77 <member name="M:System.Runtime.InteropServices.OSPlatform.op_Equality(System.Runtime.InteropServices.OSPlatform,System.Runtime.InteropServices.OSPlatform)">
78 <summary>Determines whether two <see cref="T:System.Runtime.InteropServices.OSPlatform"></see> objects are equal.</summary>
79 <param name="left">The first object to compare.</param>
80 <param name="right">The second object to compare.</param>
81 <returns><see langword="true"></see> if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> are equal; otherwise, <see langword="false"></see>.</returns>
83 <member name="M:System.Runtime.InteropServices.OSPlatform.op_Inequality(System.Runtime.InteropServices.OSPlatform,System.Runtime.InteropServices.OSPlatform)">
84 <summary>Determines whether two <see cref="T:System.Runtime.InteropServices.OSPlatform"></see> instances are unequal.</summary>
85 <param name="left">The first object to compare.</param>
86 <param name="right">The second object to compare.</param>
87 <returns><see langword="true"></see> if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> are unequal; otherwise, <see langword="false"></see>.</returns>
89 <member name="P:System.Runtime.InteropServices.OSPlatform.OSX">
90 <summary>Gets an object that represents the OSX operating system.</summary>
91 <returns>An object that represents the OSX operating system.</returns>
93 <member name="M:System.Runtime.InteropServices.OSPlatform.ToString">
94 <summary>Returns the string representation of this <see cref="T:System.Runtime.InteropServices.OSPlatform"></see> instance.</summary>
95 <returns>A string that represents this <see cref="T:System.Runtime.InteropServices.OSPlatform"></see> instance.</returns>
97 <member name="P:System.Runtime.InteropServices.OSPlatform.Windows">
98 <summary>Gets an object that represents the Windows operating system.</summary>
99 <returns>An object that represents the Windows operating system.</returns>