Files
monorepo/LCU.API.Internal.FTP/LCU.Api.Internal.FTPLib/Models/SessionInformation.cs
T
2026-03-24 15:28:37 -05:00

25 lines
686 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace LCU.Api.Internal.FTPLib.Models
{
public class SessionInformation
{
[Required]
public ProtocolType Protocol { get; set; }
[Required]
public string HostName { get; set; }
[Required, Range(1, 999999)]
public int PortNumber { get; set; } = 22;
[Required]
public string UserName { get; set; }
[Required]
public string Password { get; set; }
[Required]
public string SshHostKeyFingerprint { get; set; }
public string SshKeyFilePath { get; set; }
}
}