Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
231 lines (226 sloc) 12.2 KB
<Type Name="RuntimeInformation" FullName="System.Runtime.InteropServices.RuntimeInformation">
<TypeSignature Language="C#" Value="public static class RuntimeInformation" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit RuntimeInformation extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Runtime.InteropServices.RuntimeInformation" />
<TypeSignature Language="VB.NET" Value="Public Class RuntimeInformation" />
<TypeSignature Language="C++ CLI" Value="public ref class RuntimeInformation abstract sealed" />
<TypeSignature Language="F#" Value="type RuntimeInformation = class" />
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices.RuntimeInformation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Provides information about the .NET runtime installation.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="FrameworkDescription">
<MemberSignature Language="C#" Value="public static string FrameworkDescription { get; }" />
<MemberSignature Language="ILAsm" Value=".property string FrameworkDescription" />
<MemberSignature Language="DocId" Value="P:System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property FrameworkDescription As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static property System::String ^ FrameworkDescription { System::String ^ get(); };" />
<MemberSignature Language="F#" Value="member this.FrameworkDescription : string" Usage="System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices.RuntimeInformation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns a string that indicates the name of the .NET installation on which an app is running.</summary>
<value>The name of the .NET installation on which the app is running.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The property returns a string that starts with one of the following and indicates the name of the currently executing .NET implementation, usually followed by the current version:
- ".NET Core".
- ".NET Framework".
- ".NET Native".
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IsOSPlatform">
<MemberSignature Language="C#" Value="public static bool IsOSPlatform (System.Runtime.InteropServices.OSPlatform osPlatform);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsOSPlatform(valuetype System.Runtime.InteropServices.OSPlatform osPlatform) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool IsOSPlatform(System::Runtime::InteropServices::OSPlatform osPlatform);" />
<MemberSignature Language="F#" Value="static member IsOSPlatform : System.Runtime.InteropServices.OSPlatform -&gt; bool" Usage="System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform osPlatform" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices.RuntimeInformation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="osPlatform" Type="System.Runtime.InteropServices.OSPlatform" />
</Parameters>
<Docs>
<param name="osPlatform">A platform.</param>
<summary>Indicates whether the current application is running on the specified platform.</summary>
<returns>
<see langword="true" /> if the current app is running on the specified platform; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OSArchitecture">
<MemberSignature Language="C#" Value="public static System.Runtime.InteropServices.Architecture OSArchitecture { get; }" />
<MemberSignature Language="ILAsm" Value=".property valuetype System.Runtime.InteropServices.Architecture OSArchitecture" />
<MemberSignature Language="DocId" Value="P:System.Runtime.InteropServices.RuntimeInformation.OSArchitecture" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property OSArchitecture As Architecture" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static property System::Runtime::InteropServices::Architecture OSArchitecture { System::Runtime::InteropServices::Architecture get(); };" />
<MemberSignature Language="F#" Value="member this.OSArchitecture : System.Runtime.InteropServices.Architecture" Usage="System.Runtime.InteropServices.RuntimeInformation.OSArchitecture" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices.RuntimeInformation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>get: System.Security.SecuritySafeCritical</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Runtime.InteropServices.Architecture</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the platform architecture on which the current app is running.</summary>
<value>The platform architecture on which the current app is running.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OSDescription">
<MemberSignature Language="C#" Value="public static string OSDescription { get; }" />
<MemberSignature Language="ILAsm" Value=".property string OSDescription" />
<MemberSignature Language="DocId" Value="P:System.Runtime.InteropServices.RuntimeInformation.OSDescription" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property OSDescription As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static property System::String ^ OSDescription { System::String ^ get(); };" />
<MemberSignature Language="F#" Value="member this.OSDescription : string" Usage="System.Runtime.InteropServices.RuntimeInformation.OSDescription" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices.RuntimeInformation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>get: System.Security.SecuritySafeCritical</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a string that describes the operating system on which the app is running.</summary>
<value>The description of the operating system on which the app is running.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ProcessArchitecture">
<MemberSignature Language="C#" Value="public static System.Runtime.InteropServices.Architecture ProcessArchitecture { get; }" />
<MemberSignature Language="ILAsm" Value=".property valuetype System.Runtime.InteropServices.Architecture ProcessArchitecture" />
<MemberSignature Language="DocId" Value="P:System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property ProcessArchitecture As Architecture" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static property System::Runtime::InteropServices::Architecture ProcessArchitecture { System::Runtime::InteropServices::Architecture get(); };" />
<MemberSignature Language="F#" Value="member this.ProcessArchitecture : System.Runtime.InteropServices.Architecture" Usage="System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices.RuntimeInformation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>get: System.Security.SecuritySafeCritical</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Runtime.InteropServices.Architecture</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the process architecture of the currently running app.</summary>
<value>The process architecture of the currently running app.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.