public ExecutionResult ReleaseIPAddress(NetworkInterface networkInterface, IPv4Information info) { var __Command = $"ifconfig {networkInterface.Name} inet {info.Address} delete"; return(this._Shell.ExecuteCommand(__Command)); }
public ExecutionResult AssignIPAddress(NetworkInterface networkInterface, IPv4Information info) { var __Command = $"ifconfig {networkInterface.Name} inet {info.Address} netmask {info.Mask}"; return(this._Shell.ExecuteCommand(__Command)); }