@using System.Runtime.InteropServices

@{
    ViewBag.Title = "About";
}

<main aria-labelledby="title">
    <h2 id="title">@ViewBag.Title.</h2>
    <div align="center">
        <table class="table table-striped table-hover">
            <tr>
                <td>.NET version</td>
                <td>@RuntimeInformation.FrameworkDescription</td>
            </tr>
            <tr>
                <td>Operating system</td>
                <td>@RuntimeInformation.OSDescription</td>
            </tr>
            <tr>
                <td>Processor architecture</td>
                <td>@RuntimeInformation.OSArchitecture</td>
            </tr>
            <tr>
                <td>CPU cores</td>
                <td>@Environment.ProcessorCount</td>
            </tr>
            <tr>
                <td>DOTNET_RUNNING_IN_CONTAINER</td>
                <td>@(Environment.GetEnvironmentVariable("DOTNET_RUNNING_IN_CONTAINER") is null ? "false" : "true")</td>
            </tr>
        </table>
    </div>
</main>
