By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,959 Members | 1,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,959 IT Pros & Developers. It's quick & easy.

How to get name and path of current runing instance?

P: n/a
Ase well as System.Assembly.GetExecutingAssembly.Location
you can also you
System.Assembly.GetExecutingAssembly.CodeBase

The Location property does return the location of the
assembly, even if the assembly had been cached by IIS. As
a result, it does not always return the location that the
assembly was installed...

HTH
-----Original Message-----
I am developing a Class Library, I want to retrieve its executive name andpath int the code, how can I do that?

Thanks!
.

Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.