c#获取运行路径(wince&xp)
来源:互联网 发布:好域名的七大特点 编辑:程序博客网 时间:2024/06/05 15:06
private static string m_CurrentPath;
private static string Platform
{
get
{
return Environment.OSVersion.Platform.ToString();
}
}
/// <summary>
/// 获取运行路径
/// </summary>
public static string CurrentPath
{
get
{
if (Platform.Equals("WinCE"))
{
m_CurrentPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
}
else if (Platform.Equals("Win32NT"))
{
m_CurrentPath = Directory.GetCurrentDirectory();
}
return m_CurrentPath;
}
}
private static string Platform
{
get
{
return Environment.OSVersion.Platform.ToString();
}
}
/// <summary>
/// 获取运行路径
/// </summary>
public static string CurrentPath
{
get
{
if (Platform.Equals("WinCE"))
{
m_CurrentPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
}
else if (Platform.Equals("Win32NT"))
{
m_CurrentPath = Directory.GetCurrentDirectory();
}
return m_CurrentPath;
}
}
- c#获取运行路径(wince&xp)
- c# wince 获取程序当前路径
- c# wince 获取程序当前路径
- Wince下获取当前运行的EXE所在路径
- WinCE的C#程序中获取当前应用程序的路径
- C# Winform程序如何获取运行路径
- C# 获取运行程序路径的方法
- C#获取当前程序运行路径
- C# 获取当前程序运行路径
- wince获取当前路径
- WinCE获取当前路径
- wince获取当前路径
- 《wince获取当前路径》
- Wince 获取当前路径
- C# 通过窗口句柄获取程序运行路径 通过程序运行路径获取程序图标
- WinCE下 获取本地路径
- WINCE获取程序所在路径
- wince 获取项目当前路径
- linux 上nginx php 编译安装
- Android 判断应用 第一次安装启动
- baidu 的算法
- C++ 虚函数表解析
- API-MultiAutoCompleteTextView
- c#获取运行路径(wince&xp)
- (APUE点滴记录) 高级I/O之非阻塞I/O
- C++ 对象的内存布局(上) 分类: 编程语言
- mac os上编译安装nginx php
- 在PowerShell中定义参数
- log4cxx 用法详解
- 开发Ajax程序步骤
- 实现strstr函数
- C++ 对象的内存布局(下)