C# Class FOG.Modules.HostnameChanger.Linux.LinuxHostName

Inheritance: IHostName
Mostrar archivo Open project: FOGProject/fog-client

Public Methods

Method Description
ActivateComputer ( string key ) : void
RegisterComputer ( DataContracts msg ) : bool
RenameComputer ( string hostname ) : void
UnRegisterComputer ( DataContracts msg ) : void

Private Methods

Method Description
BruteForce ( string hostname ) : void
ReplaceAll ( string file, string hostname ) : void
UpdateHOSTNAME ( string hostname ) : void
UpdateHostname ( string hostname ) : void
UpdateHosts ( string hostname ) : void
UpdateNetwork ( string hostname ) : void

Method Details

ActivateComputer() public method

public ActivateComputer ( string key ) : void
key string
return void

RegisterComputer() public method

public RegisterComputer ( DataContracts msg ) : bool
msg DataContracts
return bool

RenameComputer() public method

public RenameComputer ( string hostname ) : void
hostname string
return void

UnRegisterComputer() public method

public UnRegisterComputer ( DataContracts msg ) : void
msg DataContracts
return void