Class AppInfo
Wraps information about an application in a serializer-friendly format.
Assembly: NanoByte.Common.dll
Syntax
public sealed class AppInfo : ValueType
Properties
Arguments
The command-line arguments the application was started with.
Declaration
public string[] Arguments { get; set; }
Property Value
Copyright
The copyright information for the application.
Declaration
public string Copyright { get; set; }
Property Value
Current
Information about the currently running application (looks at the entry assembly).
Declaration
public static AppInfo Current { get; }
Property Value
CurrentLibrary
Information about the currently running library (looks at the calling assembly).
Declaration
public static AppInfo CurrentLibrary { get; }
Property Value
Description
A description of the application.
Declaration
public string Description { get; set; }
Property Value
Name
The name of the application.
Declaration
public string Name { get; set; }
Property Value
NameVersion
Declaration
public string NameVersion { get; }
Property Value
ProductName
The name of the product the application is a part of.
Declaration
public string ProductName { get; set; }
Property Value
Version
The version number of the application.
Declaration
public string Version { get; set; }
Property Value
Methods
Load(Assembly)
Loads application information for a specific Assembly.
Declaration
public static AppInfo Load(Assembly assembly)
Parameters
Returns
Extension Methods