The following tables list the members exposed by Constants.
Name | Description | |
---|---|---|
AppDomainName | Returns the current AppDomain's friendly name | |
ApplicationData | Returns the roaming user profile path for the currently running software application: {SpecialFolder.ApplicationData}\{CompanyName}\{ProductName} | |
CompanyName | Returns the company name of the entry assembly | |
DefaultLogFile | Returns a default log file name derived as: {SpecialFolder.LocalApplicationData}\{CompanyName}\{ProductName}\{AppDomainName}.txt | |
EntryAssembly | Returns the entry-point assembly or the highest stack assembly | |
IsDebugging | Returns true if a debugger is attached to the process | |
IsUnitTest | Returns true if the current process is running a unit test | |
LocalApplicationData | Returns the non-roaming user profile path for the currently running software application: {SpecialFolder.LocalApplicationData}\{CompanyName}\{ProductName} | |
ProcessFile | Returns the file path to the exe for this process | |
ProcessId | Returns the current process id | |
ProcessName | Returns the current process name without an extension | |
ProductName | Returns the product name of the entry assembly | |
ProductVersion | Returns the product version of the entry assembly | |
RegistrySoftwarePath | Returns the HKCU or HKLM path for this software application based on the process that is running: Software\{CompanyName}\{ProductName} | |
UNKNOWN | Returns the string '[Unknown]' |