Files
Pilz.Updating/Pilz.Updating.UpdateInstaller/General.cs

23 lines
493 B
C#

using global::System.IO;
using global::System.Reflection;
namespace Pilz.Updating.UpdateInstaller
{
internal static class General
{
private static string p = string.Empty;
public static string MyAppPath
{
get
{
if (string.IsNullOrEmpty(p))
{
p = Path.GetDirectoryName(IO.Extensions.GetExecutablePath());
}
return p;
}
}
}
}