Class HostSpecification
An x3270 host specification. Constructs all of the various options in the right order.
Inheritance
System.Object
HostSpecification
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: X3270is
Assembly: x3270is.dll
Syntax
public class HostSpecification
Constructors
| Improve this Doc View SourceHostSpecification()
Initializes a new instance of the HostSpecification class.
Declaration
public HostSpecification()
HostSpecification(String)
Initializes a new instance of the HostSpecification class.
Declaration
public HostSpecification(string hostName)
Parameters
Type | Name | Description |
---|---|---|
System.String | hostName | Host name |
Properties
| Improve this Doc View SourceAcceptName
Gets or sets the host TLS certificate accept name.
Declaration
public string AcceptName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HostName
Gets or sets the host name.
Declaration
public string HostName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogicalUnits
Gets or sets the logical unit names.
Declaration
public IEnumerable<string> LogicalUnits { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Port
Gets or sets the port number.
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TlsTunnel
Gets or sets a value indicating whether to set up a TLS tunnel. The default is false.
Declaration
public bool TlsTunnel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ValidateHostCertificate
Gets or sets a value indicating whether to validate the host TLS certificate. The default is true.
Declaration
public bool ValidateHostCertificate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceAddLogicalUnitName(String)
Add a logical unit (LU) name.
Declaration
public void AddLogicalUnitName(string logicalUnitName)
Parameters
Type | Name | Description |
---|---|---|
System.String | logicalUnitName | LU name |
ToString()
Construct the string representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String representation |
Overrides
System.Object.ToString()