Back to product page

Hostname property


Hostname of server where we will connect.

Type

String.

Syntax

  • C#
  • VB.NET
String Hostname {get; set; };

Property Hostname As String

Remarks

Prior to issuing Connect method, you should set Hostname property to name of remote server, or his IP address. wodSFTP.NET will resolve given string, and will use that value when Connect method is called.

Resolving of the hostname can take few seconds, and it all depends on your operating system. It is possible that component will freeze in that time because resolving is a blocking call.

Platforms

Windows