C# Class FOG.Modules.HostnameChanger.Windows.WindowsHostName

Inheritance: IHostName
Afficher le fichier Open project: FOGProject/fog-client

Méthodes publiques

Méthode Description
ActivateComputer ( string key ) : void
RegisterComputer ( DataContracts msg ) : bool
RenameComputer ( string hostname ) : void
UnRegisterComputer ( DataContracts msg ) : void

Private Methods

Méthode Description
DomainWrapper ( DataContracts msg, bool ou, JoinOptions options ) : int
NetJoinDomain ( string lpServer, string lpDomain, string lpAccountOU, string lpAccount, string lpPassword, JoinOptions nameType ) : int
NetUnjoinDomain ( string lpServer, string lpAccount, string lpPassword, UnJoinOptions fUnjoinOptions ) : int

Method Details

ActivateComputer() public méthode

public ActivateComputer ( string key ) : void
key string
Résultat void

RegisterComputer() public méthode

public RegisterComputer ( DataContracts msg ) : bool
msg DataContracts
Résultat bool

RenameComputer() public méthode

public RenameComputer ( string hostname ) : void
hostname string
Résultat void

UnRegisterComputer() public méthode

public UnRegisterComputer ( DataContracts msg ) : void
msg DataContracts
Résultat void