diff --git a/src/pw3270-sharp/pw3270-sharp.cs b/src/pw3270-sharp/pw3270-sharp.cs
index 28e0f39..618603a 100644
--- a/src/pw3270-sharp/pw3270-sharp.cs
+++ b/src/pw3270-sharp/pw3270-sharp.cs
@@ -179,6 +179,14 @@ namespace pw3270 {
return str.ToString();
}
+ ///
+ /// Lib3270 version.
+ ///
+ ///
+ ///
+ /// Lib3270 version string
+ ///
+ ///
public string Version {
get {
return GetVersion();
@@ -440,30 +448,78 @@ namespace pw3270 {
return tn3270_pakey(hSession, key);
}
+ ///
+ /// Get screen width
+ ///
+ ///
+ ///
+ /// Screen width in characters (negative on error)
+ ///
+ ///
public int GetWidth() {
return tn3270_get_width(hSession);
}
+ ///
+ /// Screen width in characters
+ ///
+ ///
+ ///
+ /// Screen width in characters (negative on error)
+ ///
+ ///
public int Width {
get {
return tn3270_get_width(hSession);
}
}
+ ///
+ /// Get screen height
+ ///
+ ///
+ ///
+ /// Screen width in characters (negative on error)
+ ///
+ ///
public int GetHeight() {
return tn3270_get_height(hSession);
}
+ ///
+ /// Screen height in characters
+ ///
+ ///
+ ///
+ /// Screen height in characters (negative on error)
+ ///
+ ///
public int Height {
get {
return tn3270_get_height(hSession);
}
}
+ ///
+ /// Get length of terminal buffer (width * height)
+ ///
+ ///
+ ///
+ /// Terminal length in characters (negative on error)
+ ///
+ ///
public int GetLength() {
return tn3270_get_length(hSession);
}
+ ///
+ /// Length of terminal buffer (width * height)
+ ///
+ ///
+ ///
+ /// Terminal length in characters (negative on error)
+ ///
+ ///
public int Length {
get {
return tn3270_get_length(hSession);
@@ -476,6 +532,14 @@ namespace pw3270 {
}
}
+ ///
+ /// 3270 host URL
+ ///
+ ///
+ ///
+ /// 3270 host URL
+ ///
+ ///
public string Url {
set {
tn3270_set_url(hSession,value);
@@ -487,6 +551,14 @@ namespace pw3270 {
}
}
+ ///
+ /// Last lib3270 error message
+ ///
+ ///
+ ///
+ /// Last lib3270 error message
+ ///
+ ///
public string Error {
set {
tn3270_set_error_message(hSession,value);
--
libgit2 0.21.2