Show / Hide Table of Contents

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 Source

HostSpecification()

Initializes a new instance of the HostSpecification class.

Declaration
public HostSpecification()
| Improve this Doc View Source

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 Source

AcceptName

Gets or sets the host TLS certificate accept name.

Declaration
public string AcceptName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

HostName

Gets or sets the host name.

Declaration
public string HostName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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>
| Improve this Doc View Source

Port

Gets or sets the port number.

Declaration
public int Port { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

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
| Improve this Doc View Source

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 Source

AddLogicalUnitName(String)

Add a logical unit (LU) name.

Declaration
public void AddLogicalUnitName(string logicalUnitName)
Parameters
Type Name Description
System.String logicalUnitName

LU name

| Improve this Doc View Source

ToString()

Construct the string representation.

Declaration
public override string ToString()
Returns
Type Description
System.String

String representation

Overrides
System.Object.ToString()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX