public void Startup() { this._needPasswd = false; // read in default response string /* StreamReader SR; * string lines; * SR = File.OpenText("new-login.dat"); * * while (!SR.EndOfStream) * { * lines = SR.ReadLine(); * _defaultResponse += lines; * } * SR.Close(); * */ this._mpasswd = EncodePassword("testpass"); userManager = new LocalUserProfileManager(this.m_gridServer, m_simPort, m_simAddr, regionX, regionY); //userManager.InitUserProfiles(); userManager.SetKeys("", "", "", "Welcome to OpenSim"); }
public void Startup() { this._needPasswd = false; // read in default response string /* StreamReader SR; string lines; SR = File.OpenText("new-login.dat"); while (!SR.EndOfStream) { lines = SR.ReadLine(); _defaultResponse += lines; } SR.Close(); * */ this._mpasswd = EncodePassword("testpass"); userManager = new LocalUserProfileManager(this.m_gridServer, m_simPort, m_simAddr, regionX, regionY); //userManager.InitUserProfiles(); userManager.SetKeys("", "", "", "Welcome to OpenSim"); }