Exemplo n.º 1
0
 public AdvancedOptions(SerializationInfo info, StreamingContext context)
 {
     Certs = (Certificates)info.GetValue("certificates", typeof(Certificates));
     users = (Users)info.GetValue("users", typeof(Users));
     EnvironmentVariables = (EnvironmentVars)info.GetValue("environmentvars", typeof(EnvironmentVars));
     WElements            = (Elements)info.GetValue("welements", typeof(Elements));
     feature                = (Features)info.GetValue("features", typeof(Features));
     FirewallExcept         = (FirewallExceptions)info.GetValue("firewallexceptions", typeof(FirewallExceptions));
     GlobalFileAssociations = (FileAssociations)info.GetValue("fileassociations", typeof(FileAssociations));
     Registryvalues         = (RegistryValues)info.GetValue("registryvalues", typeof(RegistryValues));
 }
Exemplo n.º 2
0
 public AdvancedOptions()
 {
     Certs = new Certificates();
     users = new Users();
     EnvironmentVariables = new EnvironmentVars();
     WElements            = new Elements();
     feature                = new Features();
     FirewallExcept         = new FirewallExceptions();
     GlobalFileAssociations = new FileAssociations();
     Registryvalues         = new RegistryValues();
 }