Class1
is a class object which is already instantiated. Is there any alternative approach not to type every time Class1.
?
Class1.Hostname = location.Ip;
Class1.UserName = location.Username;
Class1.Password = location.Password;
Class1.Port = 23;
Class1.GiveUpSecurityAndAcceptAnySshHostKey = true;
Class1.LogPath = "";
Class1.IsDebug = true;
Class1.Downloadwaitmiliseconds = 1000;