Use ASCIIEncoding GetString overload that is supported on all target frameworks.

This commit is contained in:
drieseng
2016-08-15 12:55:23 +02:00
parent 820ed146cf
commit 5deccd0c0e
@@ -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>