mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
refactor: mode handle supported server
This commit is contained in:
@@ -33,12 +33,7 @@ namespace Netch.Models
|
||||
/// </summary>
|
||||
public int Type = 0;
|
||||
|
||||
public bool SupportSocks5Auth => Type switch
|
||||
{
|
||||
0 => true,
|
||||
_ => false
|
||||
};
|
||||
|
||||
/// 是否会转发 UDP
|
||||
public bool TestNatRequired => Type is 0 or 1 or 2;
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user