public override void GetRegistryProperties() { if (IsConnected) { RegistryConnection.GetRegistryProperties(machineName, options, this); } }
public override bool Connect() { if (userName != null) { options.Username = userName; options.Password = password; } connectionScope = RegistryConnection.ConnectionScope(machineName, options, this); return(this.IsConnected); }
public RegistryRemote(string userName, string password, string machineName) { this.userName = userName; this.password = password; this.machineName = machineName; options = RegistryConnection.RegistryConnectionOptions(); Connect(); GetRegistryProperties(); }
public override bool Connect() { connectionScope = RegistryConnection.ConnectionScope(Environment.MachineName, options, this); return(this.IsConnected); }
public RegistryLocal() { options = RegistryConnection.RegistryConnectionOptions(); Connect(); GetRegistryProperties(); }