Example #1
0
 public override void GetRegistryProperties()
 {
     if (IsConnected)
     {
         RegistryConnection.GetRegistryProperties(machineName, options, this);
     }
 }
Example #2
0
 public override bool Connect()
 {
     if (userName != null)
     {
         options.Username = userName;
         options.Password = password;
     }
     connectionScope = RegistryConnection.ConnectionScope(machineName, options, this);
     return(this.IsConnected);
 }
Example #3
0
        public RegistryRemote(string userName,
                              string password,
                              string machineName)
        {
            this.userName    = userName;
            this.password    = password;
            this.machineName = machineName;
            options          = RegistryConnection.RegistryConnectionOptions();

            Connect();
            GetRegistryProperties();
        }
Example #4
0
 public override bool Connect()
 {
     connectionScope = RegistryConnection.ConnectionScope(Environment.MachineName,
                                                          options, this);
     return(this.IsConnected);
 }
Example #5
0
 public RegistryLocal()
 {
     options = RegistryConnection.RegistryConnectionOptions();
     Connect();
     GetRegistryProperties();
 }