| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace LYFZ.WindowsServiceHandling
- {
- public class RegisterKey
- {
- public RegisterKey()
- {
- }
- static string subKey_Root = "software\\LYFZ\\";
- /// <summary>
- /// 软件注册根路径
- /// </summary>
- public static string SubKey_Root
- {
- get { return RegisterKey.subKey_Root; }
- }
- static string subKey_Server = "Server\\";
- /// <summary>
- /// 软件服务器注册路径
- /// </summary>
- public static string SubKey_Server
- {
- get { return RegisterKey.SubKey_Root+RegisterKey.subKey_Server; }
- }
- static string subKey_Client = "Client\\";
- /// <summary>
- /// 软件客户端注册路径
- /// </summary>
- public static string CubKey_Client
- {
- get { return RegisterKey.SubKey_Root + RegisterKey.subKey_Client; }
- }
- /// <summary>
- /// 注册表键名
- /// </summary>
- public enum RegeditKeyName
- {
- /// <summary>
- /// 软件版本 集团版、单店版
- /// </summary>
- SoftwareCategory,
- /// <summary>
- /// 服务器类型
- /// </summary>
- ServerType,
- /// <summary>
- /// 全局ID
- /// </summary>
- GlobalIDKey,
- }
- /// <summary>
- /// 软件服务器类型
- /// </summary>
- public enum SoftwareServerType
- {
- /// <summary>
- /// 总店服务器
- /// </summary>
- MainStore,
- /// <summary>
- /// 分店服务器
- /// </summary>
- BranchStore,
- /// <summary>
- /// 空值
- /// </summary>
- EmptyStore,
- }
- /// <summary>
- /// 当前服务器注册类型
- /// </summary>
- public enum MyServerType
- {
- 集团云版_总店=0,
- 集团云版_分店=1,
- 集团版_总店=2,
- 集团版_分店=3,
- 单店云版=4,
- 单店版=5,
- }
- }
- }
|