1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-29 08:36:08 +03:00
ProxySU/ProxySuper.Core/Models/Projects/V2raySettings_VLESS.cs

116 lines
2.6 KiB
C#
Raw Normal View History

2021-05-22 06:12:26 +03:00
using ProxySuper.Core.Services;
2022-11-23 17:06:09 +03:00
using System.Collections.Generic;
using System.Linq;
using System.Windows.Documents;
2021-05-13 04:58:45 +03:00
2021-05-14 14:07:19 +03:00
namespace ProxySuper.Core.Models.Projects
2021-05-13 04:58:45 +03:00
{
2021-08-20 06:52:45 +03:00
public partial class V2raySettings
2021-05-13 04:58:45 +03:00
{
2021-05-22 06:12:26 +03:00
/// <summary>
/// vless tcp shareLink
/// </summary>
public string VLESS_TCP_ShareLink
{
get
{
2021-08-20 06:52:45 +03:00
return ShareLink.Build(RayType.VLESS_TCP, this);
2021-05-22 06:12:26 +03:00
}
}
2021-05-13 04:58:45 +03:00
/// <summary>
/// websocket path
/// </summary>
public string VLESS_WS_Path { get; set; }
2021-05-22 06:12:26 +03:00
/// <summary>
/// VLESS WS ShareLink
/// </summary>
public string VLESS_WS_ShareLink
{
get
{
2021-08-20 06:52:45 +03:00
return ShareLink.Build(RayType.VLESS_WS, this);
2021-05-22 06:12:26 +03:00
}
}
2021-05-13 04:58:45 +03:00
/// <summary>
/// kcp seed
/// </summary>
public string VLESS_KCP_Seed { get; set; }
/// <summary>
/// kcp type
/// </summary>
public string VLESS_KCP_Type { get; set; }
/// <summary>
/// kcp port
/// </summary>
public int VLESS_KCP_Port { get; set; }
2021-05-22 06:12:26 +03:00
/// <summary>
/// VLESS KCP ShareLink
/// </summary>
public string VLESS_KCP_ShareLink
{
get
{
2021-08-20 06:52:45 +03:00
return ShareLink.Build(RayType.VLESS_KCP, this);
2021-05-22 06:12:26 +03:00
}
}
2022-11-23 17:06:09 +03:00
/// <summary>
/// vless quic security
/// </summary>
public string VLESS_QUIC_Security { get; set; }
/// <summary>
/// vless quic type
/// </summary>
public string VLESS_QUIC_Type { get; set; }
/// <summary>
/// vless quic port
/// </summary>
public int VLESS_QUIC_Port { get; set; }
/// <summary>
/// vless quic key
/// </summary>
public string VLESS_QUIC_Key { get; set; }
/// <summary>
/// vless quic ShareLink
/// </summary>
public string VLESS_QUIC_ShareLink
{
get
{
return ShareLink.Build(RayType.VLESS_QUIC, this);
}
}
2021-05-13 04:58:45 +03:00
/// <summary>
/// grpc port
/// </summary>
2021-05-15 11:45:36 +03:00
public int VLESS_gRPC_Port { get; set; }
2021-05-13 04:58:45 +03:00
/// <summary>
/// grpc service name
/// </summary>
public string VLESS_gRPC_ServiceName { get; set; }
2021-05-22 06:12:26 +03:00
/// <summary>
/// vless grpc share link
/// </summary>
public string VLESS_gRPC_ShareLink
{
get
{
2021-08-20 06:52:45 +03:00
return ShareLink.Build(RayType.VLESS_gRPC, this);
2021-05-22 06:12:26 +03:00
}
}
2021-05-13 04:58:45 +03:00
}
}