Files
netch/Netch/Servers/V2ray/ShareModels/V2rayNJObject.cs
2022-03-22 14:20:23 +08:00

69 lines
1.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace Netch.Servers;
public class V2rayNJObject
{
/// <summary>
/// 链接版本
/// </summary>
public int v { get; set; } = 2;
/// <summary>
/// 备注
/// </summary>
public string ps { get; set; } = string.Empty;
/// <summary>
/// 地址
/// </summary>
public string add { get; set; } = string.Empty;
/// <summary>
/// 端口
/// </summary>
public ushort port { get; set; }
/// <summary>
/// 用户 ID
/// </summary>
public string id { get; set; } = string.Empty;
/// <summary>
/// 额外 ID
/// </summary>
public int aid { get; set; }
/// <summary>
/// 加密方式 (security)
/// </summary>
public string scy { get; set; } = "auto";
/// <summary>
/// 传输协议
/// </summary>
public string net { get; set; } = string.Empty;
/// <summary>
/// 伪装类型
/// </summary>
public string type { get; set; } = string.Empty;
/// <summary>
/// 伪装域名HTTPWS
/// </summary>
public string host { get; set; } = string.Empty;
/// <summary>
/// 伪装路径/服务名称
/// </summary>
public string path { get; set; } = string.Empty;
/// <summary>
/// 是否使用 TLS
/// </summary>
public string tls { get; set; } = string.Empty;
/// <summary>
/// serverName
/// </summary>
public string sni { get; set; } = string.Empty;
}