<PackageReference Include="SSH.NET" Version="2024.2.0" />

SftpPermissionDeniedException

The exception that is thrown when operation permission is denied.
using System; using System.Runtime.Serialization; namespace Renci.SshNet.Common { [Serializable] public class SftpPermissionDeniedException : SshException { public SftpPermissionDeniedException() { } public SftpPermissionDeniedException(string message) : base(message) { } public SftpPermissionDeniedException(string message, Exception innerException) : base(message, innerException) { } protected SftpPermissionDeniedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }