示例#1
0
        public RegistryRemote(string userName,
                              string password,
                              string domain,
                              string machineName,
                              string provider)
        {
            this.userName    = userName;
            this.password    = password;
            this.domain      = domain;
            this.machineName = machineName;
            options          = RegistryConnection.RegistryConnectionOptions();

            Connect(provider);
            GetRegistryProperties();
        }
 public RegistryLocal(string provider)
 {
     options = RegistryConnection.RegistryConnectionOptions();
     Connect(provider);
     GetRegistryProperties();
 }