The module provides functionality for getting the information about the app.
To get the 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.
Gapotchenko.FX.AppModel.Information
module is available as a NuGet package:
PM> Install-Package Gapotchenko.FX.AppModel.Information
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.Diagnostics
- Gapotchenko.FX.IO
- Gapotchenko.FX.Linq
- Gapotchenko.FX.Math
- Gapotchenko.FX.Memory
- Gapotchenko.FX.Text
- Gapotchenko.FX.Threading
Or look at the full list of modules.