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

ProxyException

public class ProxyException : SshException
The exception that is thrown when a proxy connection cannot be established.
using System; using System.Runtime.CompilerServices; using System.Runtime.Serialization; namespace Renci.SshNet.Common { [Serializable] [System.Runtime.CompilerServices.NullableContext(2)] [System.Runtime.CompilerServices.Nullable(0)] public class ProxyException : SshException { public ProxyException() { } public ProxyException(string message) : base(message) { } public ProxyException(string message, Exception innerException) : base(message, innerException) { } [System.Runtime.CompilerServices.NullableContext(1)] protected ProxyException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }