Running program properties

  • Thread starter Thread starter Stephen Edgecombe
  • Start date Start date
S

Stephen Edgecombe

Is there any way to find out the properties (name, path and so on of the
program currently ruuning from within the program?
 
Check Out the Application Class Properties. IE
MessageBox.Show(Application.ProductName)

Regards - OHM
 
* "Stephen Edgecombe said:
Is there any way to find out the properties (name, path and so on of the
program currently ruuning from within the program?

Have a look at the members of the 'Application' class.
 
Thanks

That works OK for a Windows application because the Application Class is in
the System.Windows.Forms namespace.

What about non-windows applications, lig Console and Web Service
applications?

Steve
 
Back
Top