CSharpTest.Net
Constants Class Members
See Also  Fields  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net Namespace : Constants Class


Glossary Item Box

The following tables list the members exposed by Constants.

Public Fields

 NameDescription
Public Fieldstatic (Shared in Visual Basic)AppDomainNameReturns the current AppDomain's friendly name  
Public Fieldstatic (Shared in Visual Basic)ApplicationDataReturns the roaming user profile path for the currently running software application: {SpecialFolder.ApplicationData}\{CompanyName}\{ProductName}  
Public Fieldstatic (Shared in Visual Basic)CompanyNameReturns the company name of the entry assembly  
Public Fieldstatic (Shared in Visual Basic)DefaultLogFileReturns a default log file name derived as: {SpecialFolder.LocalApplicationData}\{CompanyName}\{ProductName}\{AppDomainName}.txt  
Public Fieldstatic (Shared in Visual Basic)EntryAssemblyReturns the entry-point assembly or the highest stack assembly  
Public Fieldstatic (Shared in Visual Basic)IsDebuggingReturns true if a debugger is attached to the process  
Public Fieldstatic (Shared in Visual Basic)IsUnitTestReturns true if the current process is running a unit test  
Public Fieldstatic (Shared in Visual Basic)LocalApplicationDataReturns the non-roaming user profile path for the currently running software application: {SpecialFolder.LocalApplicationData}\{CompanyName}\{ProductName}  
Public Fieldstatic (Shared in Visual Basic)ProcessFileReturns the file path to the exe for this process  
Public Fieldstatic (Shared in Visual Basic)ProcessIdReturns the current process id  
Public Fieldstatic (Shared in Visual Basic)ProcessNameReturns the current process name without an extension  
Public Fieldstatic (Shared in Visual Basic)ProductNameReturns the product name of the entry assembly  
Public Fieldstatic (Shared in Visual Basic)ProductVersionReturns the product version of the entry assembly  
Public Fieldstatic (Shared in Visual Basic)RegistrySoftwarePathReturns the HKCU or HKLM path for this software application based on the process that is running: Software\{CompanyName}\{ProductName}  
Public FieldUNKNOWNReturns the string '[Unknown]'  
Top

See Also

Generated with Document! X 2011 by Innovasys