25 lines
686 B
C#
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; }
|
|
}
|
|
}
|