impspathinfo.cs

来自「破解的飞信源代码」· CS 代码 · 共 59 行

CS
59
字号
namespace Imps.Client.Resource
{
    using Imps.Utils;
    using System;
    using System.IO;

    public class ImpsPathInfo
    {
        public static string ApplicationDataDir
        {
            get
            {
                return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), AppDictionary.ShortEnglishName);
            }
        }

        public static string CookiesDir
        {
            get
            {
                return Environment.GetFolderPath(Environment.SpecialFolder.Cookies);
            }
        }

        public static string DefaultShareContentSavePath
        {
            get
            {
                return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), AppDictionary.ShareContentFolderName);
            }
        }

        public static string InternetCacheDir
        {
            get
            {
                return Environment.GetFolderPath(Environment.SpecialFolder.InternetCache);
            }
        }

        public static string StartupDir
        {
            get
            {
                return Environment.GetFolderPath(Environment.SpecialFolder.Startup);
            }
        }

        public static string StartupPath
        {
            get
            {
                return FilePathHelper.AppBaseDir;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?