Advanced programming in C# and ASP.net
Monday, November 21, 2011
VB to C# Application Path in WindowsService
This method in VB.NET can be written like the below reflection method. The below method gets you the location of your application
My.Application.Info.DirectoryPath
System.Reflection.Assembly.GetExecutingAssembly().Location;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment