Show / Hide Table of Contents

Constructor Client

| Edit this page View Source

Client(string, int)

Initializes a new instance of the Client class

Declaration
public Client(string host, int port)
Parameters
Type Name Description
string host

Host name

int port

Port, usually 2101

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0main, v3.0, v2.2, v2.1
.NETmain, v3.0
.NET Windowsmain, v3.0
.NET Androidmain, v3.0
.NET iOSmain, v3.0
.NET Frameworkmain, v3.0, v2.2, v2.1
UWPmain, v3.0, v2.2, v2.1
Xamarin.Androidv2.2, v2.1
Xamarin.iOSv2.2, v2.1
| Edit this page View Source

Client(string, int, string?, string?)

Initializes a new instance of the Client class

Declaration
public Client(string host, int port, string? username, string? password)
Parameters
Type Name Description
string host

Host name

int port

Port, usually 2101

string username

Username

string password

Password

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0main, v3.0, v2.2, v2.1
.NETmain, v3.0
.NET Windowsmain, v3.0
.NET Androidmain, v3.0
.NET iOSmain, v3.0
.NET Frameworkmain, v3.0, v2.2, v2.1
UWPmain, v3.0, v2.2, v2.1
Xamarin.Androidv2.2, v2.1
Xamarin.iOSv2.2, v2.1
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX