public override async Task <bool> Initialize(LEDerConfig config) { await base.Initialize(config); try { if (string.IsNullOrWhiteSpace(this.IP_Adresse)) { throw new ArgumentNullException("IP_Adresse fehlt!"); } if (0 == this.UDP_Port) { throw new ArgumentNullException("UDP_Port fehlt!"); } await OpenSocket(); return(true); } catch (Exception ex) { log.Error(ex, "Fehler beim Initialisieren von Tpm2NetOutput: " + ex.Message); return(false); } }
public Task <bool> Initialize(LEDerConfig config) { return(Task.FromResult(true)); }
public Task <bool> Initialize(LEDerConfig cfg) { throw new NotImplementedException(); }
public Task <bool> Initialize(LEDerConfig cfg) { base.Initialize(cfg); return(Task.FromResult(true)); }