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

RequestMessage

public 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 ServiceName ServiceName { get; }

Gets the name of the service.

public string Username { get; }

Gets authentication username.

public RequestMessage(ServiceName serviceName, string username)

Initializes a new instance of the RequestMessage class.