Skip to content

Commit 48fdb9b

Browse files
Add remarks regarding architecture emulation
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
1 parent 6a9539f commit 48fdb9b

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

xml/System.Runtime.InteropServices/RuntimeInformation.xml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,17 @@
8181
<summary>Gets the name of the .NET installation on which an app is running.</summary>
8282
<value>The name of the .NET installation on which the app is running.</value>
8383
<remarks>
84-
<format type="text/markdown"><![CDATA[
85-
84+
<format type="text/markdown"><![CDATA[
85+
8686
## Remarks
8787
88-
The property returns a string that indicates the name of the currently executing .NET implementation. The string starts with one of the following descriptions, usually followed by the current version:
88+
The property returns a string that indicates the name of the currently executing .NET implementation. The string starts with one of the following descriptions, usually followed by the current version:
8989
9090
- ".NET" (for .NET 5 and later versions)
9191
- ".NET Core" (for .NET Core 1.0 - 3.1)
9292
- ".NET Framework"
9393
- ".NET Native"
94-
94+
9595
]]></format>
9696
</remarks>
9797
</Docs>
@@ -184,7 +184,15 @@ The property returns a string that indicates the name of the currently executing
184184
<Docs>
185185
<summary>Gets the platform architecture on which the current app is running.</summary>
186186
<value>The platform architecture on which the current app is running.</value>
187-
<remarks>To be added.</remarks>
187+
<remarks>
188+
<format type="text/markdown"><![CDATA[
189+
190+
## Remarks
191+
192+
The returned value is intended to represent the actual architecture of the underlying operating system. It is a best effort to ignore the architecture emulation infrastructure that may be involved to run the process. The returned value takes into account emulation built into Windows and macOS operating systems. The returned value does not take into account emulation using QEMU that is typically used on Linux operating system.
193+
194+
]]></format>
195+
</remarks>
188196
</Docs>
189197
</Member>
190198
<Member MemberName="OSDescription">
@@ -313,7 +321,7 @@ The property returns a string that indicates the name of the currently executing
313321
This property returns a string that identifies the operating system, typically including the version and processor architecture of the currently executing process.
314322
315323
Since this string is opaque, it's not recommended to parse the string into its constituent parts.
316-
324+
317325
For more information, see [.NET Core RID catalog](/dotnet/core/rid-catalog).
318326
319327
]]></format>

0 commit comments

Comments
 (0)