一个在移动设备中获取路径的常用方法: public string GetFileName() { return System.IO.Path.Combine(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase),"filename"); } 在移动设备开发中,路径都使用绝对路径。 System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutin...
[ 查看全文 ]