Differences

This shows you the differences between the selected revisions of the page.

2014-04-24 2014-04-24
variable names distinct from class names as VB is case-insensitive (martin) vb.net does not use commas in property initializer list (martin)
Line 84: Line 84:
            Dim mySessionOptions As New SessionOptions             Dim mySessionOptions As New SessionOptions
            With mySessionOptions             With mySessionOptions
-                .Protocol = Protocol.Sftp, +                .Protocol = Protocol.Sftp 
-                .HostName = "example.com", +                .HostName = "example.com" 
-                .UserName = "user", +                .UserName = "user" 
-                .Password = "mypassword",+                .Password = "mypassword"
                .SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"                 .SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
            End With             End With

Last modified: by martin