Ejemplo n.º 1
0
        public ComputerSystem()
        {
            this.RootUser = new User(this, "SYSTEM");
            this.Users.Add(this.RootUser);

            this.RootFile           = new File("Root", 0, this.RootUser);
            this.RootFile.Directory = true;
            this.GenerateUsers();

            FileSystemGenerator.GenerateBasicFilesystem(this, new Session(this.RootUser));
        }
Ejemplo n.º 2
0
        public ComputerSystem(Network parent)
        {
            this.Parent = parent;
            if (this.Parent.DomainControler != null)
            {
                this.Standalone = false;
            }
            else
            {
                this.GenerateUsers();
            }

            this.RootUser = new User(this, "SYSTEM");
            this.Users.Add(this.RootUser);

            this.RootFile           = new File("Root", 0, this.RootUser);
            this.RootFile.Directory = true;
            FileSystemGenerator.GenerateBasicFilesystem(this, new Session(this.RootUser));
        }