Files
ZonyLrcToolsX/src/ZonyLrcTools.Common/Configuration/NetworkOptions.cs
real-zony 8b5d5c64b0 refactor: Adjusted the structure of the configuration file.
BREAKING CHANGE: Adjusted the internal structure of the config.yaml file, removed the top-level hierarchy.
2024-07-02 21:22:40 +08:00

28 lines
699 B
C#

namespace ZonyLrcTools.Common.Configuration
{
/// <summary>
/// 工具网络相关的设定。
/// </summary>
public class NetworkOptions
{
/// <summary>
/// 是否启用了网络代理功能。
/// </summary>
public bool IsEnable { get; set; }
/// <summary>
/// 代理服务器的 Ip。
/// </summary>
public string Ip { get; set; } = null!;
/// <summary>
/// 代理服务器的 端口。
/// </summary>
public int Port { get; set; }
/// <summary>
/// 更新检查的 Url。
/// </summary>
public string UpdateUrl { get; set; } = default!;
}
}