Gapotchenko.FX.AppModel.Information
2026.4.2
Prefix Reserved
dotnet add package Gapotchenko.FX.AppModel.Information --version 2026.4.2
NuGet\Install-Package Gapotchenko.FX.AppModel.Information -Version 2026.4.2
<PackageReference Include="Gapotchenko.FX.AppModel.Information" Version="2026.4.2" />
<PackageVersion Include="Gapotchenko.FX.AppModel.Information" Version="2026.4.2" />
<PackageReference Include="Gapotchenko.FX.AppModel.Information" />
paket add Gapotchenko.FX.AppModel.Information --version 2026.4.2
#r "nuget: Gapotchenko.FX.AppModel.Information, 2026.4.2"
#:package Gapotchenko.FX.AppModel.Information@2026.4.2
#addin nuget:?package=Gapotchenko.FX.AppModel.Information&version=2026.4.2
#tool nuget:?package=Gapotchenko.FX.AppModel.Information&version=2026.4.2
Overview
The module provides functionality for getting information about the app.
Information About the Current App
To get information about the current app, use AppInformation.Current property:
using Gapotchenko.FX.AppModel.Information;
using System;
var info = AppInformation.Current;
Console.WriteLine("Product: {0}", info.ProductName);
Console.WriteLine("Version: {0}", info.ProductVersion);
Console.WriteLine("Company: {0}", info.CompanyName);
Console.WriteLine("Copyright: {0}", info.Copyright);
This can be useful for purposes like showing an about box in GUI or a copyright banner in console.
Information About Another Part of the App
Sometimes a program consists of several parts, each of which has its own associated product information.
To get information about a specific part of the program other than the main app, use AppInformation.For(Type) method:
using Gapotchenko.FX.AppModel.Information;
using System;
var info = AppInformation.For(typeof(object));
Console.WriteLine("Product: {0}", info.ProductName);
Console.WriteLine("Version: {0}", info.ProductVersion);
Console.WriteLine("Company: {0}", info.CompanyName);
Console.WriteLine("Copyright: {0}", info.Copyright);
Note that the example above gets information for System.Object type which belongs to .NET BCL (Base Class Library).
The retrieved information about that part looks like so:
Product: Microsoft® .NET
Version: 8.0.824.36612
Company: Microsoft Corporation
Copyright: © Microsoft Corporation. All rights reserved.
You can use this functionality to retrieve information about any other part of the program. It can be a plugin, a library, and so on.
There also exists AppInformation.For(Assembly) overload of the For method.
That method overload retrieves information about a specific assembly.
It is useful for situations when you have no specific System.Type at hand to retrieve the information for, but only a System.Assembly.
Note that it is preferable to use AppInformation.For(Type) method because it is slightly more precise than AppInformation.For(Assembly).
Commonly Used Types
Gapotchenko.FX.AppModel.AppInformation
Other Modules
Let's continue with a look at some other modules provided by Gapotchenko.FX:
- Gapotchenko.FX
- ➴ Gapotchenko.FX.AppModel.Information
- Gapotchenko.FX.Collections
- Gapotchenko.FX.Console
- Gapotchenko.FX.Data
- Gapotchenko.FX.Diagnostics
- Gapotchenko.FX.IO
- Gapotchenko.FX.Linq
- Gapotchenko.FX.Math
- Gapotchenko.FX.Memory
- Gapotchenko.FX.Security.Cryptography
- Gapotchenko.FX.Text
- Gapotchenko.FX.Threading
- Gapotchenko.FX.Tuples
- Gapotchenko.FX.Versioning
Or look at the full list of modules.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- Gapotchenko.FX (>= 2026.4.2)
- Gapotchenko.FX.Diagnostics.Process (>= 2026.4.2)
- Gapotchenko.FX.Linq (>= 2026.4.2)
-
.NETStandard 2.0
- Gapotchenko.FX (>= 2026.4.2)
- Gapotchenko.FX.Diagnostics.Process (>= 2026.4.2)
- Gapotchenko.FX.Linq (>= 2026.4.2)
-
.NETStandard 2.1
- Gapotchenko.FX (>= 2026.4.2)
- Gapotchenko.FX.Diagnostics.Process (>= 2026.4.2)
- Gapotchenko.FX.Linq (>= 2026.4.2)
-
net10.0
- Gapotchenko.FX (>= 2026.4.2)
- Gapotchenko.FX.Diagnostics.Process (>= 2026.4.2)
- Gapotchenko.FX.Linq (>= 2026.4.2)
-
net8.0
- Gapotchenko.FX (>= 2026.4.2)
- Gapotchenko.FX.Diagnostics.Process (>= 2026.4.2)
- Gapotchenko.FX.Linq (>= 2026.4.2)
-
net9.0
- Gapotchenko.FX (>= 2026.4.2)
- Gapotchenko.FX.Diagnostics.Process (>= 2026.4.2)
- Gapotchenko.FX.Linq (>= 2026.4.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.4.2 | 76 | 2/4/2026 |
| 2026.3.5 | 84 | 1/29/2026 |
| 2026.2.2 | 87 | 1/25/2026 |
| 2026.1.5 | 87 | 1/13/2026 |
| 2025.1.45 | 180 | 12/25/2025 |
| 2025.1.27-beta | 185 | 10/8/2025 |
| 2025.1.26-beta | 218 | 8/30/2025 |
| 2025.1.25-beta | 790 | 7/22/2025 |
| 2025.1.24-beta | 395 | 7/16/2025 |
| 2025.1.23-beta | 275 | 7/12/2025 |
| 2024.2.5 | 218 | 12/31/2024 |
| 2024.1.3 | 184 | 11/10/2024 |
| 2022.2.7 | 654 | 5/1/2022 |
| 2022.2.5 | 561 | 5/1/2022 |
| 2022.1.4 | 574 | 4/6/2022 |
| 2021.2.21 | 633 | 1/21/2022 |
| 2021.2.20 | 620 | 1/17/2022 |
| 2021.1.5 | 531 | 7/6/2021 |
| 2020.2.2-beta | 515 | 11/21/2020 |
| 2020.1.15 | 643 | 11/5/2020 |
| 2020.1.9-beta | 493 | 7/14/2020 |
| 2020.1.8-beta | 511 | 7/14/2020 |
| 2020.1.7-beta | 523 | 7/14/2020 |
| 2020.1.1-beta | 595 | 4/12/2020 |