public SkympClientSettingsModel ToSkympClientSettings(SkympClientSettingsModel oldServer) { return(new SkympClientSettingsModel { IP = this.IP, IsEnableConsole = oldServer.IsEnableConsole, IsShowMe = oldServer.IsShowMe, Port = this.Port }); }
public bool IsSameServer(SkympClientSettingsModel settings) { return((settings.IP + settings.Port.ToString()).GetHashCode() == ID); }