<PackageReference Include="SSH.NET" Version="2016.1.0-beta2" />

RequestMessage

public abstract class RequestMessage : Message
Represents SSH_MSG_USERAUTH_REQUEST message. Server as a base message for other user authentication requests.
public virtual string MethodName { get; }

Gets the name of the authentication method.

public byte[] ServiceName { get; }

Gets the name of the service as ASCII encoded byte array.

public byte[] Username { get; }

Gets authentication username as UTF-8 encoded byte array.

protected RequestMessage(ServiceName serviceName, string username, string methodName)

Initializes a new instance of the RequestMessage class.