mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 17:25:51 +00:00
Use ASCIIEncoding GetString overload that is supported on all target frameworks.
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// </value>
|
||||
public string RequestName
|
||||
{
|
||||
get { return Ascii.GetString(_requestName); }
|
||||
get { return Ascii.GetString(_requestName, 0, _requestName.Length); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user