NanoByte.Common  2.7.0
NanoByte.Common.Info.AppInfo Struct Reference

Wraps information about an application in a serializer-friendly format. More...

Static Public Member Functions

static AppInfo Load (Assembly? assembly)
 Loads application information for a specific Assembly. More...
 

Properties

string? Name [get, set]
 The name of the application. More...
 
string? ProductName [get, set]
 The name of the product the application is a part of. More...
 
string? Version [get, set]
 The version number of the application. More...
 
string NameVersion [get]
 The Name and Version combined. More...
 
string? Copyright [get, set]
 The copyright information for the application. More...
 
string? Description [get, set]
 A description of the application. More...
 
string?[] Arguments [get, set]
 The command-line arguments the application was started with. More...
 
static AppInfo Current [get]
 Information about the currently running application (looks at the entry assembly). More...
 
static AppInfo CurrentLibrary [get]
 Information about the currently running library (looks at the calling assembly). More...
 

Detailed Description

Wraps information about an application in a serializer-friendly format.

Member Function Documentation

◆ Load()

static AppInfo NanoByte.Common.Info.AppInfo.Load ( Assembly?  assembly)
inlinestatic

Loads application information for a specific Assembly.

Property Documentation

◆ Arguments

string? [] NanoByte.Common.Info.AppInfo.Arguments
getset

The command-line arguments the application was started with.

◆ Copyright

string? NanoByte.Common.Info.AppInfo.Copyright
getset

The copyright information for the application.

◆ Current

AppInfo NanoByte.Common.Info.AppInfo.Current
staticget

Information about the currently running application (looks at the entry assembly).

◆ CurrentLibrary

AppInfo NanoByte.Common.Info.AppInfo.CurrentLibrary
staticget

Information about the currently running library (looks at the calling assembly).

◆ Description

string? NanoByte.Common.Info.AppInfo.Description
getset

A description of the application.

◆ Name

string? NanoByte.Common.Info.AppInfo.Name
getset

The name of the application.

◆ NameVersion

string NanoByte.Common.Info.AppInfo.NameVersion
get

The Name and Version combined.

◆ ProductName

string? NanoByte.Common.Info.AppInfo.ProductName
getset

The name of the product the application is a part of.

◆ Version

string? NanoByte.Common.Info.AppInfo.Version
getset

The version number of the application.


The documentation for this struct was generated from the following file: