I was using Environment.CurrentDirectory when I tested my class in a winform
wrapper, but but now that I've move it to a WinService this gives me
"C:\WinNT\System32"
How can I get the Path of my assembly?

Thanks in Advance,
Byron

How to get App path of WinService by Deepak

Deepak
Thu Sep 25 02:06:49 CDT 2003

System.IO.Path.GetDirectoryName
(System.Reflection.Assembly.GetExecutingAssembly
().Location)

Hope this helps

Regards

Deepak
#*#*#*#*#*#*#*#*#*#*#*#
I Code, therefore I am


>-----Original Message-----
>I was using Environment.CurrentDirectory when I tested
my class in a winform
>wrapper, but but now that I've move it to a WinService
this gives me
>"C:\WinNT\System32"
>How can I get the Path of my assembly?
>
>Thanks in Advance,
>Byron
>
>
>.
>