|
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.IO;
namespace BeeMobile
{
public class GetApplicationDirectory
{
/// <summary>
/// Gets the path, where is the current application.
/// </summary>
public static string GetAppDir
{
get
{
return Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I work for Bee Mobile.
Web site: http://beemobile4.net
Facebook site: http://facebook.com/BeeMobile
YouTube Channel: http://youtube.com/beemobile4dotnet