using Senparc.CO2NET.Cache;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Senparc.Weixin.TenPayV3
{
///
/// HTTP 请求时 Header 中 User-Agent 的参数集合
///
public class UserAgentValues
{
#region 单例
///
/// UserAgentValues 的构造函数
///
UserAgentValues() : base()
{
}
public static UserAgentValues Instance
{
get
{
return Nested.instance;
}
}
class Nested
{
static Nested()
{
}
internal static readonly UserAgentValues instance = new UserAgentValues();
}
#endregion
///
/// 当前模块版本号
///
public string SenparcWeixinVersion = typeof(Senparc.Weixin.Config).Assembly.GetName().Version.ToString();
///
/// 当前模块版本
///
public string TenPayV3Version = typeof(TenPayApiRequest).Assembly.GetName().Version.ToString();
///
/// 操作系统名称及版本
///
public string OSVersion = Environment.OSVersion.ToString();
///
/// 当前 .NET 运行时版本
///
public string RuntimeVersion = Environment.Version.ToString();
}
}