string foo = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName(). CodeBase); foo = foo.Replace(@"file:\", "").Replace(@"bin", "");
Namespaces: System.IO and System.Reflection
No comments:
Post a Comment