protected override MFilesServerApplication GetServerApp(string username, string password, string domain, string protocolSequence, string networkAddress, string endpoint, bool encryptedConnection, string localComputerName, MFAuthType authType) { var serverApp = new MFilesServerApplication(); serverApp.ConnectEx(AuthType: authType, UserName: username, Password: password, Domain: domain, ProtocolSequence: protocolSequence, NetworkAddress: networkAddress, Endpoint: endpoint, EncryptedConnection: encryptedConnection, LocalComputerName: localComputerName); return(serverApp); }