Class TcpTransportParameters
Specifies the parameters for establishing a TCP transport.
Inherited Members
Namespace: MarcusW.VncClient.Protocol.Implementation.Services.Transports
Assembly: MarcusW.VncClient.dll
Syntax
public sealed class TcpTransportParameters : TransportParameters
Properties
| Improve this Doc View SourceHost
Gets or sets the name or address of the target host.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Port
Gets or sets the target port.
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceGetDescendants()
Returns all referenced FreezableParametersObject descendants of this object or null, when there aren't any.
Declaration
protected override IEnumerable<FreezableParametersObject>? GetDescendants()
Returns
Type | Description |
---|---|
System.Nullable<IEnumerable<FreezableParametersObject>> |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceValidate()
Validates the parameters of this object and throws a ConnectParametersValidationException for the first error found.
Declaration
public override void Validate()